[PD-cvs] externals/OSCx/libOSC Makefile,1.3,1.4 OSC-client.c,1.2,1.3
x75 at users.sourceforge.net
x75 at users.sourceforge.net
Tue Jan 20 22:22:54 CET 2004
Update of /cvsroot/pure-data/externals/OSCx/libOSC
In directory sc8-pr-cvs1:/tmp/cvs-serv5212
Modified Files:
Makefile OSC-client.c
Log Message:
MACOSX needs sys/types.h included ...
Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/OSCx/libOSC/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Makefile 30 Jul 2003 11:11:58 -0000 1.3
--- Makefile 20 Jan 2004 21:22:51 -0000 1.4
***************
*** 1,4 ****
--- 1,7 ----
CFLAGS= -O2 -Wall -fPIC
+ # uncomment the following for linux/win
DEFS= -Dunix
+ # and this for osx
+ # DEFS= -Dunix -DMACOSX
LIB=libOSC.a
Index: OSC-client.c
===================================================================
RCS file: /cvsroot/pure-data/externals/OSCx/libOSC/OSC-client.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OSC-client.c 20 Oct 2002 16:01:10 -0000 1.2
--- OSC-client.c 20 Jan 2004 21:22:52 -0000 1.3
***************
*** 65,68 ****
--- 65,72 ----
#endif
+ #ifdef MACOSX
+ #include <sys/types.h>
+ #endif
+
#ifdef unix
#include <netinet/in.h>
More information about the Pd-cvs
mailing list