From 8456a507949f003992633d7594abb3297cc228d6 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Tue, 12 Jan 2016 10:17:20 +0100 Subject: [PATCH] Fix compilation on linux systems using musl libc As allowed by POSIX musl a macro PAGE_SIZE in , which collides with its use as a variable in src/sphinx.cpp --- src/sphinx.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sphinx.cpp b/src/sphinx.cpp index 60af10a73..83fe91d72 100644 --- a/src/sphinx.cpp +++ b/src/sphinx.cpp @@ -57,6 +57,9 @@ #endif #endif +// PAGE_SIZE may be in +#undef PAGE_SIZE + #if USE_LIBICONV #include "iconv.h" #endif