about summary refs log tree commit diff
path: root/src/dirent/__dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirent/__dirent.h')
-rw-r--r--src/dirent/__dirent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirent/__dirent.h b/src/dirent/__dirent.h
index 45509e19..32871baf 100644
--- a/src/dirent/__dirent.h
+++ b/src/dirent/__dirent.h
@@ -4,6 +4,6 @@ struct __dirstream
 	off_t tell;
 	int buf_pos;
 	int buf_end;
-	int lock[2];
+	volatile int lock[2];
 	char buf[2048];
 };