From bbfa5d2db8cc3a834e113e31690816887d3ff8cf Mon Sep 17 00:00:00 2001 From: Eric Le Bihan Date: Fri, 9 May 2014 21:22:04 +0200 Subject: [PATCH 1/1] test: fix build of any2ppm if fork not available The test program any2ppm can run as daemon. This feature can be disabled at compile time, if the required headers are not present. However the support for fork() is not checked. This patch fixes this issue. Signed-off-by: Eric Le Bihan --- test/any2ppm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/any2ppm.c b/test/any2ppm.c index b125496..b528d2e 100644 --- a/test/any2ppm.c +++ b/test/any2ppm.c @@ -81,7 +81,7 @@ #include -#if HAVE_UNISTD_H && HAVE_FCNTL_H && HAVE_SIGNAL_H && HAVE_SYS_STAT_H && HAVE_SYS_SOCKET_H && HAVE_SYS_POLL_H && HAVE_SYS_UN_H +#if HAVE_UNISTD_H && HAVE_FCNTL_H && HAVE_SIGNAL_H && HAVE_SYS_STAT_H && HAVE_SYS_SOCKET_H && HAVE_SYS_POLL_H && HAVE_SYS_UN_H && HAVE_FORK #include #include #include -- 1.9.0