diff options
author | Bruno Haible <bruno@clisp.org> | 2017-10-29 02:22:19 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-10-29 02:22:19 +0200 |
commit | 0469a4539552c2d81dff0377bbffc133352f7a3e (patch) | |
tree | 495e88e69d5703abf565ba5c9cb95ab5c07e67cb /lib/sys_ioctl.in.h | |
parent | 9b41ec9be365ebe3065d64ddb4e91f61bd84dc72 (diff) | |
download | gnulib-0469a4539552c2d81dff0377bbffc133352f7a3e.tar.gz |
ioctl: Override non-POSIX declaration on Haiku.
* m4/ioctl.m4 (gl_FUNC_IOCTL): Include also <unistd.h>.
* lib/sys_ioctl.in.h: Add comment about Haiku.
* doc/posix-functions/ioctl.texi: Mention Haiku problem.
* doc/glibc-headers/sys_ioctl.texi: Likewise.
Diffstat (limited to 'lib/sys_ioctl.in.h')
-rw-r--r-- | lib/sys_ioctl.in.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sys_ioctl.in.h b/lib/sys_ioctl.in.h index 9763a6ce77..b4f7e7d031 100644 --- a/lib/sys_ioctl.in.h +++ b/lib/sys_ioctl.in.h @@ -31,6 +31,7 @@ /* AIX 5.1 and Solaris 10 declare ioctl() in <unistd.h> and in <stropts.h>, but not in <sys/ioctl.h>. + Haiku declares ioctl() in <unistd.h>, but not in <sys/ioctl.h>. But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include <unistd.h> |