[netperf-dev] netperf2 commit notice r115 - in trunk: . src

raj at netperf.org raj at netperf.org
Tue May 15 12:45:34 PDT 2007


Author: raj
Date: 2007-05-15 12:45:33 -0700 (Tue, 15 May 2007)
New Revision: 115

Modified:
   trunk/AUTHORS
   trunk/src/netserver.c
Log:
include limits.h on FreeBSD

Modified: trunk/AUTHORS
===================================================================
--- trunk/AUTHORS	2007-05-15 00:02:41 UTC (rev 114)
+++ trunk/AUTHORS	2007-05-15 19:45:33 UTC (rev 115)
@@ -200,4 +200,5 @@
 Feedback on the manual
 
 Kouhei Sutou
-Generate netperf_version.h via configure rather than makefile
\ No newline at end of file
+Generate netperf_version.h and netperf.spec via configure rather than
+makefile, include limits to get PathMAX on FreeBSD.

Modified: trunk/src/netserver.c
===================================================================
--- trunk/src/netserver.c	2007-05-15 00:02:41 UTC (rev 114)
+++ trunk/src/netserver.c	2007-05-15 19:45:33 UTC (rev 115)
@@ -78,6 +78,9 @@
 #if HAVE_STRINGS_H
 # include <strings.h>
 #endif
+#if HAVE_LIMITS_H
+# include <limits.h>
+#endif
 #include <sys/types.h>
 #include <stdio.h>
 #ifndef WIN32



More information about the netperf-dev mailing list