Commit 7f3af474 authored by Ralf Habacker's avatar Ralf Habacker

* configure.in,test/test-sleep-forever.c,test/test-names.c:

added configure check for unistd.h.
parent 4d568118
2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
* configure.in,test/test-sleep-forever.c,test/test-names.c:
added configure check for unistd.h.
2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
* test/Makefile.am: fixed test data copy problem in
......
......@@ -568,6 +568,8 @@ AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)])
AC_CHECK_HEADERS(errno.h)
AC_CHECK_HEADERS(unistd.h)
# checking for a posix version of getpwnam_r
# if we are cross compiling and can not run the test
# assume getpwnam_r is the posix version
......
#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
......
/* 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment