MacOSX compatibility: check whether memcpy is a macro, and if #undef it to get the...
[citadel.git] / libcitadel / lib / stringbuf.c
index 963c55f6a7fbe1a398751e6f4893bf31d7f9df81..ba88a2f431bbfe594661dd738bc3deaba19917e3 100644 (file)
@@ -40,8 +40,8 @@
 #include <execinfo.h>
 #endif
 
-#ifdef LINUX_SENDFILE
-#include <sys/sendfile.h>
+#ifdef UNDEF_MEMCPY
+#undef memcpy
 #endif
 
 #ifdef HAVE_ZLIB