From 2073eca9f32a13df802e1dddf8fc23c5b99ff921 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 20 Feb 2004 15:27:35 +0000 Subject: 19456: Fix ptmx tests, again. --- Src/system.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Src/system.h') 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__ -- cgit 1.4.1