diff options
| author | Roy Marples <roy@marples.name> | 2008-05-15 16:35:41 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-05-15 16:35:41 +0000 |
| commit | 8673924690579224982640dd29cbbbdfd3721bcd (patch) | |
| tree | a594063091cb0c4e06cebfbc08a68585e5641233 /common.c | |
| parent | 72bda00bdcb980720a94f662471d6b524f925e16 (diff) | |
| download | dhcpcd-8673924690579224982640dd29cbbbdfd3721bcd.tar.xz | |
Fix compile on Linux.
Diffstat (limited to 'common.c')
| -rw-r--r-- | common.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,6 +42,10 @@ #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 |
