diff options
author | Bruno Haible <bruno@clisp.org> | 2006-04-24 11:38:06 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2006-04-24 11:38:06 +0000 |
commit | eb750bc6d41e92b253f1084ce2b8faffddd9441f (patch) | |
tree | 07794af95915d0a6560835bf36f2d60e16f2fb6c /lib/findprog.c | |
parent | 69494ad3b91249fea9a8d913f566a5172cd83093 (diff) | |
download | gnulib-eb750bc6d41e92b253f1084ce2b8faffddd9441f.tar.gz |
Include <unistd.h> unconditionally.
Diffstat (limited to 'lib/findprog.c')
-rw-r--r-- | lib/findprog.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/findprog.c b/lib/findprog.c index 27eee3ba6b..f1f7ef1967 100644 --- a/lib/findprog.c +++ b/lib/findprog.c @@ -1,5 +1,5 @@ /* Locating a program in PATH. - Copyright (C) 2001-2004 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. Written by Bruno Haible <haible@clisp.cons.org>, 2001. This program is free software; you can redistribute it and/or modify @@ -27,10 +27,7 @@ #include <stdbool.h> #include <stdlib.h> #include <string.h> - -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif +#include <unistd.h> #include "xalloc.h" #include "pathname.h" |