]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove the direct include for cdefs.h - it's not needed for supported
authorRoy Marples <roy@marples.name>
Mon, 10 Nov 2014 17:30:29 +0000 (17:30 +0000)
committerRoy Marples <roy@marples.name>
Mon, 10 Nov 2014 17:30:29 +0000 (17:30 +0000)
platforms.

common.c

index 705bcb0238b0534d7b1d1410d3acb1f7f01d5348..1616b268d02f164c51632598fe16f8d00af59ed2 100644 (file)
--- a/common.c
+++ b/common.c
 #  define _GNU_SOURCE
 #endif
 
-#ifndef __sun
-# if !defined(__linux__) || (defined(__linux__) && defined(__GLIBC__))
-#  include <sys/cdefs.h>
-# endif
-#endif
-
 #ifdef __APPLE__
 #  include <mach/mach_time.h>
 #  include <mach/kern_return.h>