diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-04 13:05:31 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-04 13:06:00 -0700 |
commit | 0918b47b06be41b037be7826c5de04d559026d3e (patch) | |
tree | d1ddcc348cc8cd31f872d08298a05769b602a62b /modules | |
parent | 639607db00b96f33b0e18afa27188456c6ccad0a (diff) | |
download | gnulib-0918b47b06be41b037be7826c5de04d559026d3e.tar.gz |
unistd_h: make it easier to avoid sys_types_h
This is useful for Emacs, which has its own method of porting to
Windows, and which therefore does not need the sys_types_h module.
* m4/off_t.m4: New file, defining gl_TYPE_OFF_T, which contains
code moved here from gl_SYS_TYPES_H.
* m4/sys_types_h.m4 (gl_SYS_TYPES_H): Require it instead of
using the code directly.
* m4/unistd_h.m4 (gl_UNISTD_H): Require gl_TYPE_OFF_T, not
gl_SYS_TYPES_H.
* modules/sys_types (Files):
* modules/unistd (Files): Add m4/off_t.m4.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/sys_types | 1 | ||||
-rw-r--r-- | modules/unistd | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/sys_types b/modules/sys_types index ac0ca1daf4..2e9c427867 100644 --- a/modules/sys_types +++ b/modules/sys_types @@ -4,6 +4,7 @@ A <sys/types.h> that conforms better to POSIX. Files: lib/sys_types.in.h m4/sys_types_h.m4 +m4/off_t.m4 Depends-on: include_next diff --git a/modules/unistd b/modules/unistd index 0d444126d9..79115063c3 100644 --- a/modules/unistd +++ b/modules/unistd @@ -4,6 +4,7 @@ A GNU-like <unistd.h>. Files: m4/unistd_h.m4 lib/unistd.in.h +m4/off_t.m4 Depends-on: include_next |