summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-02-26 07:44:03 +0000
committermike <mike@FreeBSD.org>2002-02-26 07:44:03 +0000
commit5dfc7bcc86b7bb568e6a0375bab64dc93c68375c (patch)
tree60fee4608dd2373a65b7fae7618403f47911227f
parent8319be1fd26a5961e35d9dda634634be8abf9361 (diff)
downloadFreeBSD-src-5dfc7bcc86b7bb568e6a0375bab64dc93c68375c.zip
FreeBSD-src-5dfc7bcc86b7bb568e6a0375bab64dc93c68375c.tar.gz
Hide GCCisms in the non-GCC case.
-rw-r--r--sys/sys/ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/ioctl.h b/sys/sys/ioctl.h
index 4888df7..c18b22d 100644
--- a/sys/sys/ioctl.h
+++ b/sys/sys/ioctl.h
@@ -43,8 +43,10 @@
#define _SYS_IOCTL_H_
#ifdef _KERNEL
+#if __GNUC__
#warning "Don't #include ioctl.h in the kernel. Include xxxio.h instead."
#endif
+#endif
#include <sys/ttycom.h>
OpenPOWER on IntegriCloud