--- rxvt-unicode/src/ptytty.C 2004/02/13 12:16:21 1.6 +++ rxvt-unicode/src/ptytty.C 2004/03/06 00:05:01 1.8 @@ -26,9 +26,15 @@ * Try to be self-contained except for the above autoconfig'd defines */ -#include +#if 0 +#ifdef HAVE_GETPT +# define _GNU_SOURCE +#endif +#endif + +#include #ifdef HAVE_STDLIB_H -# include +# include #endif #ifdef HAVE_SYS_TYPES_H # include @@ -37,7 +43,7 @@ # include #endif #if defined(HAVE_STRING_H) -# include +# include #endif #ifdef HAVE_FCNTL_H # include