From b224342d53743699ecd5badb4fb707b5bf8dea6f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 12 Sep 2006 10:13:20 +0000 Subject: [PATCH] * nanosleep.c: Include before sys/select.h, to avoid compilation failure (due to use of pid_t in latter) on NetBSD 1.6. Reported by Nelson H. F. Beebe. --- lib/ChangeLog | 8 +++++++- lib/nanosleep.c | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index d79bec00ed..33b50803b3 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,9 @@ +2006-09-12 Jim Meyering + + * nanosleep.c: Include before sys/select.h, to avoid + compilation failure (due to use of pid_t in latter) on NetBSD 1.6. + Reported by Nelson H. F. Beebe. + 2006-09-12 Sergey Poznyakoff * argp-help.c (argp_doc): Make sure NULL is not passed to @@ -27,7 +33,7 @@ and translate the two parts separately, instead of feeding the whole string to gettext. This allows to exclude '\v' from the strings visible to the translator by writing doc - strings as N_("..") "\v" N_(".."). + strings as N_("..") "\v" N_(".."). 2006-09-08 Paul Eggert diff --git a/lib/nanosleep.c b/lib/nanosleep.c index 62b9f851aa..9d725c66d9 100644 --- a/lib/nanosleep.c +++ b/lib/nanosleep.c @@ -29,10 +29,10 @@ #include #include +#include #if HAVE_SYS_SELECT_H # include #endif -#include #include #if TIME_WITH_SYS_TIME -- 2.30.2