$NetBSD$

--- text2pcap.c.orig	2009-07-20 00:23:54.000000000 +0200
+++ text2pcap.c
@@ -90,7 +90,7 @@
 #  define __USE_XOPEN
 #endif
 #ifndef _XOPEN_SOURCE
-#  define _XOPEN_SOURCE
+#  define _XOPEN_SOURCE 4
 #endif
 
 /*
