From 5766e299c3f179dad48aa7a1642de21cfa8ded6b Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 20 Mar 2013 15:25:09 +0200 Subject: [PATCH] divelist.c: Fix an 'implicit declaration' warning close() should be included from unistd.h, instead of fcntl.h for better portability. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- divelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 +#include #include #include #include