Re: [Freeciv-Dev] Freeciv on OS/2 X11
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Alexander Mai wrote:
> This version still builds fine except the small problem I fixed with
> the attached diff. Perhaps it could even be applied w/o the #ifdef ?
> (the #include obviously was necessary by some other new ones)
Patch was:
[
--- packets.c.orig Fri Mar 19 23:33:18 1999
+++ packets.c Fri Mar 19 23:33:36 1999
@@ -14,7 +14,9 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-
+#ifdef __EMX__
+#include <sys/types.h>
+#endif
#include <netinet/in.h>
#include <arpa/inet.h>
]
I notice <sys/types.h> is already included by some other files
without any "#if"s, so I just added the include. Thanks.
Regards,
-- David
|
|