summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-07-26 14:15:58 -0600
committerEduardo Chappa <chappa@washington.edu>2015-07-26 14:15:58 -0600
commit36b77661542a63c4579943951d143c8cc9c99460 (patch)
tree07858a2130d5d46ac7eef9587e09be8080e43a3d /include/system.h
parent7c946bfafe961c1dda51d19b5c29a5600ef1e5ec (diff)
downloadalpine-36b77661542a63c4579943951d143c8cc9c99460.tar.xz
* several changes to reduce warnings, including adding sys/ioctl.h
in system.h.
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h2
1 files changed, 1 insertions, 1 deletions
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