comparison lib/findprog.c @ 6751:1b0092424a44

Include <unistd.h> unconditionally.
author Bruno Haible <bruno@clisp.org>
date Mon, 24 Apr 2006 11:38:06 +0000
parents 96c32553b4c6
children 1c4ed7637c24
comparison
equal deleted inserted replaced
6750:608add4e5b80 6751:1b0092424a44
1 /* Locating a program in PATH. 1 /* Locating a program in PATH.
2 Copyright (C) 2001-2004 Free Software Foundation, Inc. 2 Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc.
3 Written by Bruno Haible <haible@clisp.cons.org>, 2001. 3 Written by Bruno Haible <haible@clisp.cons.org>, 2001.
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option) 7 the Free Software Foundation; either version 2, or (at your option)
25 #include "findprog.h" 25 #include "findprog.h"
26 26
27 #include <stdbool.h> 27 #include <stdbool.h>
28 #include <stdlib.h> 28 #include <stdlib.h>
29 #include <string.h> 29 #include <string.h>
30 30 #include <unistd.h>
31 #ifdef HAVE_UNISTD_H
32 # include <unistd.h>
33 #endif
34 31
35 #include "xalloc.h" 32 #include "xalloc.h"
36 #include "pathname.h" 33 #include "pathname.h"
37 34
38 35