build-sys: fix make checkincludes warnings

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2015-01-07 19:44:26 +00:00
parent 5de50f26fc
commit 4ebac79f01
3 changed files with 10 additions and 12 deletions

View file

@ -220,6 +220,7 @@ AC_CHECK_HEADERS([ \
sys/ioccom.h \
sys/ioctl.h \
sys/mkdev.h \
sys/param.h \
sys/prctl.h \
sys/queue.h \
sys/resource.h \

View file

@ -19,14 +19,10 @@
#endif
#ifdef HAVE_SYS_DISK_H
#ifdef HAVE_SYS_QUEUE_H
#include <sys/queue.h> /* for LIST_HEAD */
#endif
#include <sys/disk.h>
#endif
#ifdef __FreeBSD_kernel__
#include <sys/disk.h>
# ifdef HAVE_SYS_QUEUE_H
# include <sys/queue.h> /* for LIST_HEAD */
# endif
# include <sys/disk.h>
#endif
#include "blkdev.h"

View file

@ -45,15 +45,16 @@
#include "widechar.h"
#include "ttyutils.h"
#if defined(__FreeBSD_kernel__)
#include <pty.h>
#include <sys/param.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
#if defined(__FreeBSD_kernel__)
#include <pty.h>
#endif
#ifdef __linux__
# include <sys/kd.h>
# include <sys/param.h>
# define USE_SYSLOG
# ifndef DEFAULT_VCTERM
# define DEFAULT_VCTERM "linux"