--- ./gcc/intl/loadmsgcat.c.orig	2003-01-25 18:12:35.000000000 +0100
+++ ./gcc/intl/loadmsgcat.c	2003-01-25 18:14:01.000000000 +0100
@@ -22,6 +22,10 @@
 #ifndef _GNU_SOURCE
 # define _GNU_SOURCE    1
 #endif
+#ifdef _GNU_SOURCE
+# undef _GNU_SOURCE
+# define _BSD_SOURCE 1
+#endif
 
 #ifdef HAVE_CONFIG_H
 # include <config.h>
