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>