summaryrefslogtreecommitdiff
path: root/lib/striconveh.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/striconveh.h')
-rw-r--r--lib/striconveh.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/striconveh.h b/lib/striconveh.h
index e152a046..dee51eb1 100644
--- a/lib/striconveh.h
+++ b/lib/striconveh.h
@@ -1,5 +1,5 @@
/* Character set conversion with error handling.
- Copyright (C) 2001-2007, 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2007, 2009-2024 Free Software Foundation, Inc.
Written by Bruno Haible and Simon Josefsson.
This file is free software: you can redistribute it and/or modify
@@ -18,6 +18,11 @@
#ifndef _STRICONVEH_H
#define _STRICONVEH_H
+/* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_ICONV. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include <stdlib.h>
#if HAVE_ICONV
#include <iconv.h>