summaryrefslogtreecommitdiff
path: root/lib/concat-filename.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/concat-filename.h')
-rw-r--r--lib/concat-filename.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/concat-filename.h b/lib/concat-filename.h
index 0912226387..490aa96fe5 100644
--- a/lib/concat-filename.h
+++ b/lib/concat-filename.h
@@ -17,6 +17,11 @@
#ifndef _CONCAT_FILENAME_H
#define _CONCAT_FILENAME_H
+/* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include <stdlib.h>
#ifdef __cplusplus