diff options
author | Eduardo Chappa <chappa@washington.edu> | 2015-07-26 14:15:58 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2015-07-26 14:15:58 -0600 |
commit | 36b77661542a63c4579943951d143c8cc9c99460 (patch) | |
tree | 07858a2130d5d46ac7eef9587e09be8080e43a3d /include | |
parent | 7c946bfafe961c1dda51d19b5c29a5600ef1e5ec (diff) | |
download | alpine-36b77661542a63c4579943951d143c8cc9c99460.tar.xz |
* several changes to reduce warnings, including adding sys/ioctl.h
in system.h.
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h.in | 3 | ||||
-rw-r--r-- | include/system.h | 2 |
2 files changed, 4 insertions, 1 deletions
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 <sys/ioctl.h> header file. */ +#undef HAVE_SYS_IOCTL_H + /* Define to 1 if you have the <sys/ndir.h> 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 <netdb.h> #endif -#if GWINSZ_IN_SYS_IOCTL +#if defined(GWINSZ_IN_SYS_IOCTL) || defined(HAVE_SYS_IOCTL_H) # include <sys/ioctl.h> #endif |