--- webpublish/ftplib.c.old Sun Feb 8 13:58:50 2004 +++ webpublish/ftplib.c Sun Feb 8 13:59:13 2004 @@ -32,7 +32,7 @@ #include #include #include -#if defined(__unix__) +#if defined(__unix__) || defined(__APPLE__) #include #include #include @@ -91,7 +91,7 @@ GLOBALDEF int ftplib_debug = 0; -#if defined(__unix__) || defined(VMS) +#if defined(__unix__) || defined(VMS) || defined(__APPLE__) #define net_read read #define net_write write #define net_close close