From: hadaq Date: Tue, 17 Jun 2008 18:56:23 +0000 (+0000) Subject: #include ! Without this it was craching at basename (argv[0]) on 64 bit... X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=fe711dd5782d137497097eba579088bd05e45ab0;p=daqdata.git #include ! Without this it was craching at basename (argv[0]) on 64 bit platform as it assumed that the return value of basename is int (32 bit) but the pointer is 64 bit! Sergey Yurevich. --- diff --git a/hadaq/netmem.c b/hadaq/netmem.c index 303f9e0..0834a90 100644 --- a/hadaq/netmem.c +++ b/hadaq/netmem.c @@ -1,4 +1,4 @@ -static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.34 2008-06-04 16:12:06 hadaq Exp $"; +static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.35 2008-06-17 18:56:23 hadaq Exp $"; #define _POSIX_C_SOURCE 199309L @@ -12,6 +12,7 @@ static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hada #include #include +#include #include