dbus/test test-sleep-forever.c,1.1,1.2

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


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

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

Index: test-sleep-forever.c
===================================================================
RCS file: /cvs/dbus/dbus/test/test-sleep-forever.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- test-sleep-forever.c	5 Apr 2003 00:37:17 -0000	1.1
+++ test-sleep-forever.c	4 Mar 2007 19:00:40 -0000	1.2
@@ -1,6 +1,10 @@
 /* This is a process that just sleeps infinitely. */
 
+#include <config.h>
+#include <stdlib.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 
 int
 main (int argc, char **argv)



More information about the dbus-commit mailing list