diff options
| author | Roy Marples <roy@marples.name> | 2008-07-21 10:32:16 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-07-21 10:32:16 +0000 |
| commit | 66a74fc3510732b5d46cf83b30248b9bcf6ef405 (patch) | |
| tree | cd3ea6ba61eaa23a1efa2607921b8b0200ecc852 /common.h | |
| parent | 242f97be36e14e210af7136e6e9f43bbe397adef (diff) | |
| download | dhcpcd-66a74fc3510732b5d46cf83b30248b9bcf6ef405.tar.xz | |
Fix compile on OSX.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ size_t strlcpy(char *, const char *, size_t); #ifndef HAVE_CLOSEFROM #define HAVE_CLOSEFROM 1 #endif -#if defined(__linux__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) # undef HAVE_CLOSEFROM int closefrom(int); #endif |
