Diffstat (limited to 'mkspecs/hpux-acc-o64/qplatformdefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | mkspecs/hpux-acc-o64/qplatformdefs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mkspecs/hpux-acc-o64/qplatformdefs.h b/mkspecs/hpux-acc-o64/qplatformdefs.h index 8a1410c..6307fc0 100644 --- a/mkspecs/hpux-acc-o64/qplatformdefs.h +++ b/mkspecs/hpux-acc-o64/qplatformdefs.h @@ -32,17 +32,25 @@ #include <sys/time.h> #include <sys/shm.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/wait.h> // DNS header files are not fully covered by X/Open specifications. // 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. extern "C" int res_init(); #if !defined(QT_NO_COMPAT) #define QT_STATBUF struct stat #define QT_STATBUF4TSTAT struct stat #define QT_STAT ::stat |