aboutsummaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-10-07 16:15:52 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-07 09:23:09 -0700
commit79f907eb277227c2d386c1474985391d3d65009d (patch)
tree4b6ba3bcd2bb57718ef9f78e63a4de591b122450 /dive.c
parent47ca630cc272da0a0114658d062204bef0153796 (diff)
downloadsubsurface-79f907eb277227c2d386c1474985391d3d65009d.tar.gz
dive.c: fix compile error for missing INT_MAX
file requires <limits.h> to solve: error: INT_MAX undeclared gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.c b/dive.c
index 554bfd54b..5cfb9581c 100644
--- a/dive.c
+++ b/dive.c
@@ -2,6 +2,7 @@
/* maintains the internal dive list structure */
#include <string.h>
#include <stdio.h>
+#include <limits.h>
#include "gettext.h"
#include "dive.h"