Unbreak LPR & IPP print transport addons.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7546 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2004-05-13 00:16:57 +00:00
parent 6d55406426
commit 3d046cd292
4 changed files with 202 additions and 201 deletions
+1 -3
View File
@@ -1,7 +1,5 @@
SubDir OBOS_TOP src add-ons print transports ipp ;
UsePrivateHeaders net ;
SubDirHdrs [ FDirName $(OBOS_TOP) src add-ons print transports shared ] ;
Addon IPP
@@ -24,5 +22,5 @@ ObjectReferences
<src!add-ons!print!transports!shared>DbgMsg.o
;
LinkSharedOSLibs IPP : be net stdc++.r4 ;
LinkSharedOSLibs IPP : be libsocket.so libbind.so stdc++.r4 ;
+1 -3
View File
@@ -2,8 +2,6 @@ SubDir OBOS_TOP src add-ons print transports lpr ;
SubDirHdrs [ FDirName $(OBOS_TOP) src add-ons print transports shared ] ;
UsePrivateHeaders net ;
Addon LPR
: print transport
: Lpr.cpp
@@ -21,5 +19,5 @@ ObjectReferences
<src!add-ons!print!transports!shared>DbgMsg.o
;
LinkSharedOSLibs LPR : be net stdc++.r4 ;
LinkSharedOSLibs LPR : be libsocket.so libbind.so stdc++.r4 ;
+3 -2
View File
@@ -1,9 +1,9 @@
SubDir OBOS_TOP src add-ons print transports shared ;
UsePrivateHeaders net ;
SetupObjectsDir ;
ObjectC++Flags Socket.cpp : -DHAVE_ARPA_INET ;
Objects
DbgMsg.cpp
Socket.cpp
@@ -11,3 +11,4 @@ Objects
SocketStream2.cpp
;
@@ -2,10 +2,14 @@
// Y.Takagi
#ifdef WIN32
#include <winsock.h>
#include <winsock.h>
#else
#include <net/socket.h>
#include <net/netdb.h>
#include <net/socket.h>
#include <net/netdb.h>
#ifdef HAVE_ARPA_INET
// inet_addr() is not defined in netdb.h anymore under BONE & sooner
#include <arpa/inet.h>
#endif
#endif // WIN32
#include <cstdio>