From 36b77661542a63c4579943951d143c8cc9c99460 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 26 Jul 2015 14:15:58 -0600 Subject: * several changes to reduce warnings, including adding sys/ioctl.h in system.h. --- include/config.h.in | 3 +++ include/system.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/config.h.in b/include/config.h.in index 59a6ccd6..ad14ba6e 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -378,6 +378,9 @@ */ #undef HAVE_SYS_DIR_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_IOCTL_H + /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H diff --git a/include/system.h b/include/system.h index 636eb82b..36c87445 100644 --- a/include/system.h +++ b/include/system.h @@ -197,7 +197,7 @@ void *memset(void *, int, size_t); # include #endif -#if GWINSZ_IN_SYS_IOCTL +#if defined(GWINSZ_IN_SYS_IOCTL) || defined(HAVE_SYS_IOCTL_H) # include #endif -- cgit v1.2.3-70-g09d2