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:
Ruediger Meier 2016-02-22 17:25:21 +01:00
parent beabee7c67
commit eaac9f88f9
8 changed files with 1 additions and 9 deletions

View file

@ -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 \

View file

@ -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

View file

@ -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"

View file

@ -24,7 +24,6 @@
* make uuidd uuidgen localstatedir=/var
*/
#include <error.h>
#include <libgen.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -16,7 +16,6 @@
*/
#include <errno.h>
#include <features.h>
#include <getopt.h>
#include "c.h"

View file

@ -25,7 +25,6 @@
*/
#include <errno.h>
#include <features.h>
#include <getopt.h>
#include <sys/time.h>
#include <unistd.h>

View file

@ -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>

View file

@ -58,7 +58,6 @@
#include <unistd.h>
#include <signal.h>
#include <setjmp.h>
#include <libgen.h>
#ifdef HAVE_NCURSES_H
# include <ncurses.h>