Mercurial > hg > octave-kai > gnulib-hg
comparison lib/execute.c @ 6751:1b0092424a44
Include <unistd.h> unconditionally.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 24 Apr 2006 11:38:06 +0000 |
parents | a48fb0e98c8c |
children | 5d118b8eb6a4 |
comparison
equal
deleted
inserted
replaced
6750:608add4e5b80 | 6751:1b0092424a44 |
---|---|
1 /* Creation of autonomous subprocesses. | 1 /* Creation of autonomous subprocesses. |
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) |
27 #include <errno.h> | 27 #include <errno.h> |
28 #include <fcntl.h> | 28 #include <fcntl.h> |
29 #include <stdbool.h> | 29 #include <stdbool.h> |
30 #include <stdlib.h> | 30 #include <stdlib.h> |
31 #include <signal.h> | 31 #include <signal.h> |
32 | 32 #include <unistd.h> |
33 #ifdef HAVE_UNISTD_H | |
34 # include <unistd.h> | |
35 #endif | |
36 | 33 |
37 #include "error.h" | 34 #include "error.h" |
38 #include "exit.h" | 35 #include "exit.h" |
39 #include "fatal-signal.h" | 36 #include "fatal-signal.h" |
40 #include "wait-process.h" | 37 #include "wait-process.h" |