dbus/test/name-test test-names.c,1.3,1.4

Ralf Habacker rhabacker at kemper.freedesktop.org
Sun Mar 4 11:00:42 PST 2007


Update of /cvs/dbus/dbus/test/name-test
In directory kemper:/tmp/cvs-serv32483/test/name-test

Modified Files:
	test-names.c 
Log Message:
* configure.in,test/test-sleep-forever.c,test/test-names.c: 
added configure check for unistd.h.

Index: test-names.c
===================================================================
RCS file: /cvs/dbus/dbus/test/name-test/test-names.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- test-names.c	14 Aug 2006 19:11:35 -0000	1.3
+++ test-names.c	4 Mar 2007 19:00:40 -0000	1.4
@@ -1,9 +1,11 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
 #include <string.h>
 #include <dbus/dbus.h>
 #include <dbus/dbus-connection-internal.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #define REMOVE_CONNECTION 0
 #define ADD_CONNECTION 1



More information about the dbus-commit mailing list