summaryrefslogtreecommitdiff
path: root/lib/netdb.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/netdb.in.h')
-rw-r--r--lib/netdb.in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/netdb.in.h b/lib/netdb.in.h
index 9549cd7326..ea5ff40c60 100644
--- a/lib/netdb.in.h
+++ b/lib/netdb.in.h
@@ -36,6 +36,11 @@
#ifndef _@GUARD_PREFIX@_NETDB_H
#define _@GUARD_PREFIX@_NETDB_H
+/* This file uses GNULIB_POSIXCHECK. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
/* Get <netdb.h> definitions such as 'socklen_t' on IRIX 6.5 and OSF/1 4.0 and
'struct hostent' on MinGW. */
#include <sys/socket.h>