diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-14 12:48:46 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-14 12:48:46 +0200 |
commit | 09596027f260ff0de0e9932b88b90e0d06c71b6f (patch) | |
tree | afbbfabaea64581bb316a9987555c27d04bcb37f /lib | |
parent | e8bbebe5b5cc672aa28e5b4fb91e3624415d0e00 (diff) | |
download | gnulib-09596027f260ff0de0e9932b88b90e0d06c71b6f.tar.gz |
sys_shm: New module.
* lib/sys_shm.in.h: New file.
* m4/sys_shm_h.m4: New file.
* modules/sys_shm: New file.
* doc/posix-headers/sys_shm.texi: Mention the new module.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sys_shm.in.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/sys_shm.in.h b/lib/sys_shm.in.h new file mode 100644 index 0000000000..1c58f992fc --- /dev/null +++ b/lib/sys_shm.in.h @@ -0,0 +1,30 @@ +/* Provide a more reliable sys/shm.h. + + Copyright (C) 2023 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 + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. */ + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#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 + +#@INCLUDE_NEXT@ @NEXT_SYS_SHM_H@ |