Files
termux-packages/packages/oleo/obstack.c.patch
termux-pacman-bot c18ea173bf oleo: Fix configure and build for Clang 16
%ci:no-build
2023-04-11 18:31:04 +00:00

12 lines
306 B
Diff

--- a/lib/obstack.c
+++ b/lib/obstack.c
@@ -93,7 +93,7 @@
#endif
/* Exit value used when `print_and_abort' is used. */
-#if defined __GNU_LIBRARY__ || defined HAVE_STDLIB_H
+#if defined __GNU_LIBRARY__ || defined __ANDROID__ || defined HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifndef EXIT_FAILURE