summaryrefslogtreecommitdiff
path: root/lib/openat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/openat.h')
-rw-r--r--lib/openat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/openat.h b/lib/openat.h
index eb90990da1d..7208f4459fe 100644
--- a/lib/openat.h
+++ b/lib/openat.h
@@ -26,6 +26,9 @@
#include <unistd.h>
#include <stdbool.h>
+#ifndef _GL_INLINE_HEADER_BEGIN
+ #error "Please include config.h first."
+#endif
_GL_INLINE_HEADER_BEGIN
#if !HAVE_OPENAT