diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-03-20 15:25:09 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-03-20 10:23:25 -0700 |
commit | 5766e299c3f179dad48aa7a1642de21cfa8ded6b (patch) | |
tree | 585064c2a8bad72c5cab9591cf2f5407edab5cba /divelist.c | |
parent | d2b87bb0864d90829df89836f204c255cf37a3ad (diff) | |
download | subsurface-5766e299c3f179dad48aa7a1642de21cfa8ded6b.tar.gz |
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 <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.c')
-rw-r--r-- | divelist.c | 2 |
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> |