* Link against libnetwork.so instead of libbind.so/libsocket.so

* Removed useless sys/file.h includes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17972 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-06-29 18:58:35 +00:00
parent 0c22be21ab
commit 3548341794
4 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,8 @@ UsePrivateHeaders net ;
BinCommand ifconfig :
ifconfig.c
: libbind.so libsocket.so ;
: libnetwork.so
;
# Installation -- in the test directory for the time being
HaikuInstall install-networking

View File

@ -52,10 +52,10 @@
* This program has to run SUID to ROOT to access the ICMP socket.
*/
#include <OS.h>
#include <sys/param.h>
#include <kernel/OS.h>
#include <sys/socket.h>
#include <sys/file.h>
#include <sys/time.h>
#include <netinet/in_systm.h>

View File

@ -12,7 +12,7 @@ UsePrivateHeaders net ;
BinCommand traceroute :
traceroute.c
: libbind.so libsocket.so $(SELECT_UNAME_ETC_LIB) ;
: libnetwork.so $(SELECT_UNAME_ETC_LIB) ;
# Installation -- in the test directory for the time being
HaikuInstall install-networking

View File

@ -208,7 +208,6 @@
#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/file.h>
#include <sys/ioctl.h>
#include <netinet/in_systm.h>