Complete.Org: Mailing Lists: Archives: freeciv-dev: March 1999:
Re: [Freeciv-Dev] Freeciv on OS/2 X11
Home

Re: [Freeciv-Dev] Freeciv on OS/2 X11

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: st002279@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Freeciv on OS/2 X11
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sat, 20 Mar 1999 15:55:38 +1100

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

[Prev in Thread] Current Thread [Next in Thread]