diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-03 19:11:58 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-03 19:11:58 +0100 |
commit | 9853b168f68cbb09b75a817343cedde2aca4c76c (patch) | |
tree | db628840acea83dbccaf5676b89579a80e02ef51 /tests/sys_select.in.h | |
parent | d83e85a2e6064c36f6ad3c848e39d8b8c101c4f7 (diff) | |
parent | 7cf710f6587e71a193a55d84dd6d8ae1a8a69ce0 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'tests/sys_select.in.h')
-rw-r--r-- | tests/sys_select.in.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/sys_select.in.h b/tests/sys_select.in.h index 860e957f..de29c779 100644 --- a/tests/sys_select.in.h +++ b/tests/sys_select.in.h @@ -1,5 +1,5 @@ /* Substitute for <sys/select.h>. - Copyright (C) 2007-2022 Free Software Foundation, Inc. + Copyright (C) 2007-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 @@ -19,6 +19,13 @@ # endif @PRAGMA_COLUMNS@ +/* This file uses #include_next of a system file that defines time_t. + For the 'year2038' module to work right, <config.h> needs to have been + included before. */ +#if !_GL_CONFIG_H_INCLUDED + #error "Please include config.h first." +#endif + /* On OSF/1 and Solaris 2.6, <sys/types.h> and <sys/time.h> both include <sys/select.h>. On Cygwin and OpenBSD, <sys/time.h> includes <sys/select.h>. @@ -71,6 +78,11 @@ #ifndef _@GUARD_PREFIX@_SYS_SELECT_H +/* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ +#if !_GL_CONFIG_H_INCLUDED + #error "Please include config.h first." +#endif + /* On many platforms, <sys/select.h> assumes prior inclusion of <sys/types.h>. Also, mingw defines sigset_t there, instead of in <signal.h> where it belongs. */ |