diff options
Diffstat (limited to 'gl/unistd--.h')
-rw-r--r-- | gl/unistd--.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/unistd--.h b/gl/unistd--.h index 1a7fd78..5283d2c 100644 --- a/gl/unistd--.h +++ b/gl/unistd--.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Like unistd.h, but redefine some names to avoid glitches. | 1 | /* Like unistd.h, but redefine some names to avoid glitches. |
2 | 2 | ||
3 | Copyright (C) 2005 Free Software Foundation, Inc. | 3 | Copyright (C) 2005, 2009-2010 Free Software Foundation, Inc. |
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 |
@@ -25,3 +25,8 @@ | |||
25 | 25 | ||
26 | #undef pipe | 26 | #undef pipe |
27 | #define pipe pipe_safer | 27 | #define pipe pipe_safer |
28 | |||
29 | #if GNULIB_PIPE2_SAFER | ||
30 | # undef pipe2 | ||
31 | # define pipe2 pipe2_safer | ||
32 | #endif | ||