aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib-src/ChangeLog8
-rw-r--r--lib-src/emacsclient.c2
2 files changed, 8 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index f0784ab5e4..6873b16eb3 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,7 +1,11 @@
+2006-11-10 Juanma Barranquero <[email protected]>
+
+ * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
+
2006-11-08 Juanma Barranquero <[email protected]>
- * emacsclient.c (get_server_config): Declare set_fg as FARPROC to
- avoid a compiler warning.
+ * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
+ FARPROC to avoid a compiler warning.
2006-11-07 Juanma Barranquero <[email protected]>
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 2ad3701e07..7cf703d40d 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -41,6 +41,8 @@ Boston, MA 02110-1301, USA. */
#else /* !WINDOWSNT */
+# include <sys/types.h>
+
# ifdef HAVE_INET_SOCKETS
# include <netinet/in.h>
# endif