summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2012-05-19 19:13:51 -0400
committerPhil Pennock <pdp@exim.org>2012-05-19 19:13:51 -0400
commit927bcf888f79506d6567bec6918807668344ae6d (patch)
tree199f190bbeede4bd3a4ad6ccf15aa38aa7ed0b4d /src
parent6475bd82de30cfbb2b0897a05d1200674aa88f4f (diff)
Portability to HP-UX.
Report and fix from Michael Haardt. The resolver library change's assumed typedef was absent, but the underlying struct __res_state is present. Long type issues for the arithmetic changes.
Diffstat (limited to 'src')
-rw-r--r--src/OS/os.h-HP-UX7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/OS/os.h-HP-UX b/src/OS/os.h-HP-UX
index 05fc88ffe..87e4dfc97 100644
--- a/src/OS/os.h-HP-UX
+++ b/src/OS/os.h-HP-UX
@@ -17,4 +17,11 @@
typedef struct flock flock_t;
+typedef struct __res_state *res_state;
+
+#define LLONG_MIN LONG_LONG_MIN
+#define LLONG_MAX LONG_LONG_MAX
+
+#define strtoll(a,b,c) strtoimax(a,b,c)
+
/* End */