diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2009-01-11 16:00:14 +0100 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2009-01-11 16:00:14 +0100 |
| commit | b854501973525b5c5ff0b440c0e86bbb849834e9 (patch) | |
| tree | 5837b51a151bb7eab6e3d2de8d57fbe0aa78b3ed | |
| parent | 3df0820c8e6902d85fc33534a40fa4d881631a83 (diff) | |
| download | btpd-b854501973525b5c5ff0b440c0e86bbb849834e9.tar.gz btpd-b854501973525b5c5ff0b440c0e86bbb849834e9.zip | |
Fix for missing AI_ADDRCONFIG.
| -rw-r--r-- | btpd/btpd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/btpd/btpd.h b/btpd/btpd.h index 3c9377b..8f25748 100644 --- a/btpd/btpd.h +++ b/btpd/btpd.h @@ -9,6 +9,9 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> +#ifndef AI_ADDRCONFIG +#define AI_ADDRCONFIG 0 +#endif #include <assert.h> #include <errno.h> |