summaryrefslogtreecommitdiff
path: root/lib/poll.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/poll.in.h')
-rw-r--r--lib/poll.in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/poll.in.h b/lib/poll.in.h
index 9a15ef6732..5ae097fa60 100644
--- a/lib/poll.in.h
+++ b/lib/poll.in.h
@@ -33,6 +33,11 @@
#ifndef _@GUARD_PREFIX@_POLL_H
#define _@GUARD_PREFIX@_POLL_H
+/* This file uses GNULIB_POSIXCHECK. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
/* On native Windows, get the 'struct pollfd' type and the POLL* macro
definitions before we override them. mingw defines them in <winsock2.h>
if _WIN32_WINNT >= 0x0600. */