From 927bcf888f79506d6567bec6918807668344ae6d Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Sat, 19 May 2012 19:13:51 -0400 Subject: [PATCH] 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. --- src/OS/os.h-HP-UX | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ -- 2.25.1