summaryrefslogtreecommitdiff
path: root/lib/memcmp2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memcmp2.h')
-rw-r--r--lib/memcmp2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/memcmp2.h b/lib/memcmp2.h
index 1a3c342d..5cea70e3 100644
--- a/lib/memcmp2.h
+++ b/lib/memcmp2.h
@@ -1,5 +1,5 @@
/* Compare two memory areas with possibly different lengths.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
@@ -17,6 +17,11 @@
#ifndef MEMCMP2_H
#define MEMCMP2_H
+/* This file uses _GL_ATTRIBUTE_PURE. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include <stddef.h>
#ifdef __cplusplus