$NetBSD: patch-ae,v 1.2 1999/11/22 11:23:43 agc Exp $ --- gdk/gdkimage.c.orig Fri Sep 3 19:56:57 1999 +++ gdk/gdkimage.c Mon Nov 22 11:12:23 1999 @@ -26,12 +26,14 @@ #include +#ifdef __linux__ /* gcc -ansi -pedantic on GNU/Linux causes warnings and errors * unless this is defined: * warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" */ #ifndef _XOPEN_SOURCE # define _XOPEN_SOURCE 1 +#endif #endif #include