$NetBSD: patch-aj,v 1.4 2007/03/24 20:58:20 markd Exp $

--- glib/giounix.c.orig	2007-01-30 02:23:28.238812000 +1300
+++ glib/giounix.c
@@ -33,6 +33,7 @@
 
 #include "config.h"
 
+#define _XOPEN_SOURCE 600
 #define _POSIX_SOURCE		/* for SSIZE_MAX */
 
 #include <sys/types.h>
