summaryrefslogtreecommitdiff
path: root/mkspecs/hpux-acc/qplatformdefs.h
Side-by-side diff
Diffstat (limited to 'mkspecs/hpux-acc/qplatformdefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/hpux-acc/qplatformdefs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/mkspecs/hpux-acc/qplatformdefs.h b/mkspecs/hpux-acc/qplatformdefs.h
index fb74ca7..d6dc587 100644
--- a/mkspecs/hpux-acc/qplatformdefs.h
+++ b/mkspecs/hpux-acc/qplatformdefs.h
@@ -39,3 +39,11 @@
// In particular nothing is said about res_* :/
+// #ifdef __cplusplus
+// extern "C" {
+// #endif
+// getres() is mangled because of missing extern "C" on
+// HP-UX 11.x systems missing PHCO_23963
#include <resolv.h>
+// #ifdef __cplusplus
+// }
+// #endif
// Undeclared - at least on HP-UX 10.20.
@@ -85,2 +93,3 @@ extern "C" int res_init();
+
#endif // QPLATFORMDEFS_H