1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/netatalk/largefile.patch
2023-01-27 20:40:19 +01:00

13 lines
556 B
Diff

diff --git a/macros/largefile-check.m4 b/macros/largefile-check.m4
index 8610f5e..f3282ca 100644
--- a/macros/largefile-check.m4
+++ b/macros/largefile-check.m4
@@ -60,7 +60,7 @@ if test "$enable_largefile" != no; then
AC_TRY_RUN([#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
-main() { exit((sizeof(off_t) == 8) ? 0 : 1); }],
+int main() { exit((sizeof(off_t) == 8) ? 0 : 1); }],
netatalk_cv_SIZEOF_OFF_T=yes,netatalk_cv_SIZEOF_OFF_T=no,netatalk_cv_SIZEOF_OFF_T=cross)])
AC_MSG_CHECKING([if large file support is available])