diff system/System.h @ 1219:794b64e62e58 msvc2015_64

Tidy and re-fix for Linux
author Chris Cannam
date Wed, 19 Oct 2016 09:11:51 +0100
parents 6b847a59d908
children f350af2b542d
line wrap: on
line diff
--- a/system/System.h	Tue Oct 18 15:54:56 2016 +0100
+++ b/system/System.h	Wed Oct 19 09:11:51 2016 +0100
@@ -82,6 +82,7 @@
 #include <dlfcn.h>
 #include <stdio.h> // for perror
 #include <cmath>
+#include <unistd.h> // sleep + usleep primarily
 
 #define MLOCK(a,b)   ::mlock((a),(b))
 #define MUNLOCK(a,b) (::munlock((a),(b)) ? (::perror("munlock failed"), 0) : 0)