mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
13 lines
361 B
C
13 lines
361 B
C
--- nettest_unix.c.orig Thu Nov 18 23:24:22 2004
|
|
+++ nettest_unix.c Thu Nov 18 23:26:24 2004
|
|
@@ -52,7 +52,9 @@
|
|
#include <string.h>
|
|
#include <time.h>
|
|
#include <sys/time.h>
|
|
-#if ! defined(__bsdi__) && ! defined(_APPLE_)
|
|
+#if __FreeBSD__
|
|
+#include <stdlib.h>
|
|
+#elif ! defined(__bsdi__) && ! defined(_APPLE_)
|
|
#include <malloc.h>
|
|
#else
|
|
#include <sys/malloc.h>
|