$NetBSD: patch-src_poptint.h,v 1.1 2020/08/15 01:02:42 tnn Exp $ Don't include stdint.h if it does not exist. Fixes PR#44770 --- src/poptint.h.orig 2010-01-19 00:39:10.000000000 +0000 +++ src/poptint.h @@ -9,7 +9,13 @@ #ifndef H_POPTINT #define H_POPTINT +#ifdef HAVE_STDINT_H #include +#endif + +#ifdef HAVE_STDLIB_H +#include +#endif /** * Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.