summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2006-11-10 15:44:40 +0000
committerJuanma Barranquero <lekktu@gmail.com>2006-11-10 15:44:40 +0000
commited4a37304a10eb09a945f442bb761cde5fed6be7 (patch)
treec6531b1640e1a3287b774f51e7c303927a21111c /lib-src
parentbf4c75a4ee05ca3cb8ba82ddb63b3e9f41c21f65 (diff)
downloademacs-ed4a37304a10eb09a945f442bb761cde5fed6be7.tar.gz
[!WINDOWSNT]: Include <sys/types.h>.
Diffstat (limited to 'lib-src')
-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 f0784ab5e4a..6873b16eb39 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,7 +1,11 @@
+2006-11-10 Juanma Barranquero <lekktu@gmail.com>
+
+ * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
+
2006-11-08 Juanma Barranquero <lekktu@gmail.com>
- * 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 <lekktu@gmail.com>
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 2ad3701e07a..7cf703d40d1 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