From fe711dd5782d137497097eba579088bd05e45ab0 Mon Sep 17 00:00:00 2001 From: hadaq Date: Tue, 17 Jun 2008 18:56:23 +0000 Subject: [PATCH] #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. --- hadaq/netmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0