about summary refs log tree commit diff
path: root/bits/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/poll.h')
-rw-r--r--bits/poll.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bits/poll.h b/bits/poll.h
index 55ec70e363..68f611a428 100644
--- a/bits/poll.h
+++ b/bits/poll.h
@@ -16,6 +16,9 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#ifndef _SYS_POLL_H
+# error "Never use <bits/poll.h> directly; include <sys/poll.h> instead."
+#endif
 
 /* Event types that can be polled for.  These bits may be set in `events'
    to indicate the interesting event types; they will appear in `revents'