summaryrefslogtreecommitdiff
path: root/tests/pathmax.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pathmax.h')
-rw-r--r--tests/pathmax.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/pathmax.h b/tests/pathmax.h
index 19b93d7e..d6512c6f 100644
--- a/tests/pathmax.h
+++ b/tests/pathmax.h
@@ -1,5 +1,5 @@
/* Define PATH_MAX somehow. Requires sys/types.h.
- Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2022 Free Software
+ Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2024 Free Software
Foundation, Inc.
This file is free software: you can redistribute it and/or modify
@@ -39,6 +39,11 @@
#endif
*/
+/* This file uses HAVE_SYS_PARAM_H. */
+# if !_GL_CONFIG_H_INCLUDED
+# error "Please include config.h first."
+# endif
+
# include <unistd.h>
# include <limits.h>