summaryrefslogtreecommitdiff
path: root/tests/fcntl.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fcntl.in.h')
-rw-r--r--tests/fcntl.in.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/fcntl.in.h b/tests/fcntl.in.h
index 9270ced8..eea3b954 100644
--- a/tests/fcntl.in.h
+++ b/tests/fcntl.in.h
@@ -1,6 +1,6 @@
/* Like <fcntl.h>, but with non-working flags defined to 0.
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-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
@@ -74,6 +74,11 @@
#ifndef _@GUARD_PREFIX@_FCNTL_H
#define _@GUARD_PREFIX@_FCNTL_H
+/* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#ifndef __GLIBC__ /* Avoid namespace pollution on glibc systems. */
# include <unistd.h>
#endif