diff options
| author | Roy Marples <roy@marples.name> | 2016-05-19 15:10:26 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-05-19 15:10:26 +0000 |
| commit | 6ca5a4e867e564926b5d64667f9c63078fb63ccf (patch) | |
| tree | d783f1ff3b2cbb58baf7a019294754af4870746c /if.h | |
| parent | 58153b6af284231c148f428521f9283575e5ac9a (diff) | |
| download | dhcpcd-6ca5a4e867e564926b5d64667f9c63078fb63ccf.tar.xz | |
Provide a better getifaddrs(3).
Diffstat (limited to 'if.h')
| -rw-r--r-- | if.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -83,9 +83,11 @@ #define RAW_PARTIALCSUM 1 << 0 #ifdef __sun -/* platform does not supply AF_LINK with getifaddrs. */ +/* Solaris getifaddrs is very un-suitable for dhcpcd. + * See if-sun.c for details why. */ struct ifaddrs; int if_getifaddrs(struct ifaddrs **); +#define getifaddrs if_getaddrs #else #define GETIFADDRS_AFLINK #endif |
