Mercurial > hg > octave-kai > gnulib-hg
diff lib/findprog.c @ 6751:1b0092424a44
Include <unistd.h> unconditionally.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 24 Apr 2006 11:38:06 +0000 (2006-04-24) |
parents | 96c32553b4c6 |
children | 1c4ed7637c24 |
line wrap: on
line diff
--- 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"