misc: fix some includes
features.h: any glibc header includes this already libgen.h: was unused there sys/uio.h: for writev(3p) sys/queue.h seems like it was never used Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
This commit is contained in:
parent
beabee7c67
commit
eaac9f88f9
8 changed files with 1 additions and 9 deletions
|
@ -242,7 +242,6 @@ AC_CHECK_HEADERS([ \
|
|||
sys/mount.h \
|
||||
sys/param.h \
|
||||
sys/prctl.h \
|
||||
sys/queue.h \
|
||||
sys/resource.h \
|
||||
sys/socket.h \
|
||||
sys/sockio.h \
|
||||
|
|
|
@ -19,9 +19,6 @@
|
|||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_DISK_H
|
||||
# ifdef HAVE_SYS_QUEUE_H
|
||||
# include <sys/queue.h> /* for LIST_HEAD */
|
||||
# endif
|
||||
# include <sys/disk.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
#include <pwd.h>
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include "all-io.h"
|
||||
#include "c.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
* make uuidd uuidgen localstatedir=/var
|
||||
*/
|
||||
#include <error.h>
|
||||
#include <libgen.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <features.h>
|
||||
#include <getopt.h>
|
||||
|
||||
#include "c.h"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <features.h>
|
||||
#include <getopt.h>
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
#include <libgen.h>
|
||||
#include <linux/rtc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
#include <libgen.h>
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
# include <ncurses.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue