summaryrefslogtreecommitdiff
path: root/lib/fseterr.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fseterr.h')
-rw-r--r--lib/fseterr.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/fseterr.h b/lib/fseterr.h
index 7ecf8717..42e49fcb 100644
--- a/lib/fseterr.h
+++ b/lib/fseterr.h
@@ -1,5 +1,5 @@
/* Set the error indicator of a stream.
- Copyright (C) 2007, 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2007, 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 _FSETERR_H
#define _FSETERR_H
+/* This file uses HAVE___FSETERR. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include <stdio.h>
/* Set the error indicator of the stream FP.