]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on Linux.
authorRoy Marples <roy@marples.name>
Thu, 15 May 2008 16:35:41 +0000 (16:35 +0000)
committerRoy Marples <roy@marples.name>
Thu, 15 May 2008 16:35:41 +0000 (16:35 +0000)
common.c

index 93a35d02d1472bad3458cea17dc6827550cfeab6..84429449bb147ac5bf995496fc7bfecbdc8cf0de 100644 (file)
--- a/common.c
+++ b/common.c
 #include "common.h"
 #include "logger.h"
 
+#ifndef _PATH_DEVNULL
+#  define _PATH_DEVNULL "/dev/null"
+#endif
+
 /* Handy routine to read very long lines in text files.
  * This means we read the whole line and avoid any nasty buffer overflows. */
 ssize_t