]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
POSIX and sockets together is a bad idea, made _GNU_SOURCE in the first place
authorhades <hades>
Wed, 17 May 2000 08:23:07 +0000 (08:23 +0000)
committerhades <hades>
Wed, 17 May 2000 08:23:07 +0000 (08:23 +0000)
hadaq/nettrans.c

index 338d631e56f1fc18a667839e054d1dd24a7b484e..6bcc2eb3d55bba1cdaf8dd89d54bdead5c2c624c 100644 (file)
@@ -1,6 +1,6 @@
-static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.12 2000-05-17 05:55:58 hades Exp $";
+static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.13 2000-05-17 08:23:07 hades Exp $";
 
-#define _XOPEN_SOURCE_EXTENDED
+#define _GNU_SOURCE
 #include <unistd.h>
 #include "grmblfx.h"
 
@@ -13,7 +13,7 @@ static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/had
 #include <string.h>
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <time.h>
+#include <sys/time.h>
 #include <sys/types.h>
 
 #include <hadesstd.h>