diff --git a/lib/lwres/gethost.c b/lib/lwres/gethost.c index c7ccd2e833..922d2aa45e 100644 --- a/lib/lwres/gethost.c +++ b/lib/lwres/gethost.c @@ -153,7 +153,9 @@ #include #include -#include +#ifdef HAVE_INTTYPES_H +#include /* uintptr_t */ +#endif #include #include