summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index feec27b19..c25ee6271 100644
--- a/divelist.c
+++ b/divelist.c
@@ -10,7 +10,7 @@
* void mark_divelist_changed(int changed)
* int unsaved_changes()
*/
-#include <fcntl.h>
+#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>