summaryrefslogtreecommitdiff
path: root/lib/memchr2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memchr2.h')
-rw-r--r--lib/memchr2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/memchr2.h b/lib/memchr2.h
index 51d8e7bbcf..6554a676b4 100644
--- a/lib/memchr2.h
+++ b/lib/memchr2.h
@@ -14,6 +14,11 @@
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
+/* This file uses _GL_ATTRIBUTE_PURE. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include <stddef.h>
#ifdef __cplusplus