summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--osdep/shmem.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/shmem.c b/osdep/shmem.c
index 9fd6047b54..4339c89533 100644
--- a/osdep/shmem.c
+++ b/osdep/shmem.c
@@ -8,6 +8,8 @@
#include "../config.h"
+#ifdef USE_STREAM_CACHE
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -105,3 +107,5 @@ void shmem_free(void* p){
break;
}
}
+
+#endif