summaryrefslogtreecommitdiff
blob: 6556df486ccb926f54bd8307824b8396cf6aaa1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: rubberband-1.4/src/system/sysutils.h
===================================================================
--- rubberband-1.4.orig/src/system/sysutils.h
+++ rubberband-1.4/src/system/sysutils.h
@@ -81,6 +81,7 @@ inline float princargf(float a) { return
 
 #include <sys/mman.h>
 #include <dlfcn.h>
+#include <stdio.h> // perror
 
 #define MLOCK(a,b)   ::mlock((char *)(a),(b))
 #define MUNLOCK(a,b) (::munlock((char *)(a),(b)) ? (::perror("munlock failed"), 0) : 0)