summaryrefslogtreecommitdiff
path: root/lib/textstyle.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/textstyle.in.h')
-rw-r--r--lib/textstyle.in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/textstyle.in.h b/lib/textstyle.in.h
index 38645bf6f8..c87fa38059 100644
--- a/lib/textstyle.in.h
+++ b/lib/textstyle.in.h
@@ -30,6 +30,11 @@
#ifndef _TEXTSTYLE_H
#define _TEXTSTYLE_H
+/* This file uses _GL_ATTRIBUTE_MAYBE_UNUSED, HAVE_TCDRAIN. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include <errno.h>
#include <stdarg.h>
#include <stddef.h>