Files
loongoffice/external/apr/exit.patch
Tor Lillqvist 83510e43f2 Fix apr build with current Xcode: Include <stdlib.h> for exit()
(Or whatever it is that had broken it.)

Change-Id: I72bc42e618f011518c05a2cdb875cfe64515b4d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105269
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-11-04 09:53:58 +01:00

27 lines
614 B
Diff

--- configure
+++ configure
@@ -23549,6 +23549,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#ifdef WIN32
#define binmode "b"
@@ -23910,6 +23910,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#ifdef WIN32
#define binmode "b"
@@ -24347,6 +24347,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/uio.h>
#ifdef WIN32