summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/core/os_abstraction.h2
-rw-r--r--src/stdafx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h
index c1f7b028a..914c152fe 100644
--- a/src/network/core/os_abstraction.h
+++ b/src/network/core/os_abstraction.h
@@ -62,7 +62,7 @@ typedef unsigned long in_addr_t;
# include <net/if.h>
/* According to glibc/NEWS, <ifaddrs.h> appeared in glibc-2.3. */
# if !defined(__sgi__) && !defined(SUNOS) && !defined(__MORPHOS__) && !defined(__BEOS__) && !defined(__INNOTEK_LIBC__) \
- && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2)) && !defined(__dietlibc__)
+ && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2)) && !defined(__dietlibc__) && !defined(HPUX)
/* If for any reason ifaddrs.h does not exist on your system, comment out
* the following two lines and an alternative way will be used to fetch
* the list of IPs from the system. */
diff --git a/src/stdafx.h b/src/stdafx.h
index 14d493879..17bbb3ca1 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -76,7 +76,7 @@
#include <SupportDefs.h>
#endif
-#if defined(SUNOS)
+#if defined(SUNOS) || defined(HPUX)
#include <alloca.h>
#endif