diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2003-07-01 21:07:13 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2003-07-01 21:07:13 +0000 |
commit | dde911213fff46066f0369775a0f554e79b2a8f5 (patch) | |
tree | 8fce7c31c1a36f726978a56ee9bcc1de40337e39 /lib/xreadlink.c | |
parent | 2bbae2d15d4675818cb1b501bd29e83cae2c6690 (diff) | |
download | gnulib-dde911213fff46066f0369775a0f554e79b2a8f5.tar.gz |
* lib/xreadlink.c: Include <sys/types.h> unconditionally, instead of
having it depend on HAVE_SYS_TYPES_H.
* m4/xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
xreadlink.c now includes it unconditionally.
Patch proposed in
<http://mail.gnu.org/archive/html/bug-gnulib/2003-06/msg00167.html>.
Diffstat (limited to 'lib/xreadlink.c')
-rw-r--r-- | lib/xreadlink.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/xreadlink.c b/lib/xreadlink.c index e4c565f8bb..f5cce16eb8 100644 --- a/lib/xreadlink.c +++ b/lib/xreadlink.c @@ -30,9 +30,7 @@ extern int errno; #endif #include <limits.h> -#if HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif +#include <sys/types.h> #if HAVE_STDLIB_H # include <stdlib.h> #endif |