diff options
| author | Roy Marples <roy@marples.name> | 2008-01-21 21:52:20 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-01-21 21:52:20 +0000 |
| commit | cb8d2261b8cbe1fe5936ccdc0ad7548d79485267 (patch) | |
| tree | d650365c39e508967325d68d347067fb5f52635a /common.h | |
| parent | dc9be8a47ffa109785d348d92fdc6c915be734c4 (diff) | |
| download | dhcpcd-cb8d2261b8cbe1fe5936ccdc0ad7548d79485267.tar.xz | |
Fix compile on Linux where.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ #include <stdio.h> #include <string.h> +#if __GNUC__ > 2 || defined(__INTEL_COMPILER) +# define _unused __attribute__((__unused__)) +#endif + #define HAVE_STRLCPY /* Only GLIBC doesn't support strlcpy */ #ifdef __GLIBC__ |
