nixpkgs/pkgs/development/libraries/libdaemon/fix-includes.patch

14 lines
307 B
Diff
Raw Normal View History

2017-05-27 23:40:27 +00:00
--- libdaemon-0.14.orig/examples/testd.c
+++ libdaemon-0.14/examples/testd.c
@@ -21,9 +21,9 @@
#include <signal.h>
#include <errno.h>
#include <string.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
-#include <sys/unistd.h>
#include <sys/select.h>
#include <libdaemon/dfork.h>