summaryrefslogtreecommitdiff
path: root/lib/eloop-threshold.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eloop-threshold.h')
-rw-r--r--lib/eloop-threshold.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/eloop-threshold.h b/lib/eloop-threshold.h
index 510f261795d..d9b154e4868 100644
--- a/lib/eloop-threshold.h
+++ b/lib/eloop-threshold.h
@@ -19,6 +19,11 @@
#ifndef _ELOOP_THRESHOLD_H
#define _ELOOP_THRESHOLD_H 1
+/* This file uses _GL_ATTRIBUTE_CONST. */
+#if !_LIBC && !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include <limits.h>
#ifdef _LIBC
# include <sys/param.h>