tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
net/netatalk on Mac OS 10.4 anyone?
In order to compile net/netatalk on MacOS 10.4, I had to introduce
the following patch:
Does net/netatalk compile as is on other versions of MacOS X?
--- sys/netatalk/at.h.orig 2010-01-23 20:32:41.000000000 +0100
+++ sys/netatalk/at.h 2010-01-23 20:34:23.000000000 +0100
@@ -25,6 +25,10 @@
#include <netinet/in.h> /* so that we can deal with sun's s_net
#define */
#ifdef MACOSX_SERVER
+#ifdef _POSIX_C_SOURCE
+typedef unsigned char u_char;
+typedef unsigned short u_short;
+#endif
#include <netat/appletalk.h>
#endif /* MACOSX_SERVER */
Does anyone know why _POSIX_C_SOURCE is set in the first place?
--
Georg Schwarz http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost +49 151 11559652
Home |
Main Index |
Thread Index |
Old Index