--- libKeyFinder-2.2.1/fftadapter.cpp
+++ libKeyFinder-2.2.1/fftadapter.cpp
@@ -25,6 +25,10 @@
 #include <cmath>
 #include <fftw3.h>
 
+#ifdef __powerpc64__
+#include <string.h>
+#endif
+
 namespace KeyFinder {
 
   std::mutex fftwPlanMutex;
