vcpkg/ports/chmlib/strings_h.patch
2024-06-11 13:26:30 -07:00

14 lines
243 B
Diff

diff --git a/src/chm_lib.c b/src/chm_lib.c
index 6c6736c..4a3f167 100644
--- a/src/chm_lib.c
+++ b/src/chm_lib.c
@@ -62,7 +62,7 @@
#include <stdio.h>
#endif
-#if __sun || __sgi
+#ifdef CHMLIB_HAVE_STRINGS_H
#include <strings.h>
#endif