Quick fixes to allow netperf to build. That's still warnings-ridden...

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6490 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2004-02-03 21:36:36 +00:00
parent a225934384
commit d5ed0fc135
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -14,9 +14,9 @@ char netsh_id[]="\
#include <sys/types.h>
#ifndef WIN32
#include <unistd.h>
#ifndef __VMS
#if !defined(__VMS) && !defined(__BEOS__)
#include <sys/ipc.h>
#endif /* __VMS */
#endif /* __VMS or __BEOS__ */
#endif /* WIN32 */
#include <fcntl.h>
#include <errno.h>
+2 -2
View File
@@ -55,9 +55,9 @@ char nettest_id[]="\
#endif /* NOSTDLIBH */
#ifndef WIN32
#if !defined(__VMS)
#if !defined(__VMS) && !defined(__BEOS__)
#include <sys/ipc.h>
#endif /* !defined(__VMS) */
#endif /* !defined(__VMS) && !define(__BEOS__) */
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>