diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-02-20 15:27:35 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-02-20 15:27:35 +0000 |
commit | 2073eca9f32a13df802e1dddf8fc23c5b99ff921 (patch) | |
tree | 7bb29e52e5d25284accc017db570db14cd236035 /Src/system.h | |
parent | 01c29ffd950352f7ce638fb9e75778bc1bb20454 (diff) | |
download | zsh-2073eca9f32a13df802e1dddf8fc23c5b99ff921.tar.gz zsh-2073eca9f32a13df802e1dddf8fc23c5b99ff921.tar.xz zsh-2073eca9f32a13df802e1dddf8fc23c5b99ff921.zip |
19456: Fix ptmx tests, again.
Diffstat (limited to 'Src/system.h')
-rw-r--r-- | Src/system.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h index d7372924b..558508d2d 100644 --- a/Src/system.h +++ b/Src/system.h @@ -37,6 +37,14 @@ #endif #endif +#ifdef __linux +/* + * Turn on numerous extensions. + * This is in order to get the functions for manipulating /dev/ptmx. + */ +#define _GNU_SOURCE 1 +#endif + /* NeXT has half-implemented POSIX support * * which currently fools configure */ #ifdef __NeXT__ |