summaryrefslogtreecommitdiff
path: root/lib/c-vsnprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/c-vsnprintf.h')
-rw-r--r--lib/c-vsnprintf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/c-vsnprintf.h b/lib/c-vsnprintf.h
index 978f372635..3e94846d22 100644
--- a/lib/c-vsnprintf.h
+++ b/lib/c-vsnprintf.h
@@ -17,6 +17,11 @@
#ifndef _C_VSNPRINTF_H
#define _C_VSNPRINTF_H
+/* This file uses _GL_ATTRIBUTE_FORMAT. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
/* Get size_t. */
#include <stddef.h>