diff system/System.h @ 602:02d9664906e8

* Fixes to gcc-4.4 thanks to Michel Salim
author Chris Cannam
date Mon, 24 Aug 2009 16:07:23 +0000
parents bdc9bb371a9f
children 1415e35881f6
line wrap: on
line diff
--- a/system/System.h	Tue Aug 18 11:08:29 2009 +0000
+++ b/system/System.h	Mon Aug 24 16:07:23 2009 +0000
@@ -62,6 +62,7 @@
 
 #include <sys/mman.h>
 #include <dlfcn.h>
+#include <stdio.h> // for perror
 
 #define MLOCK(a,b)   ::mlock((a),(b))
 #define MUNLOCK(a,b) (::munlock((a),(b)) ? (::perror("munlock failed"), 0) : 0)