diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-10-07 16:15:52 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-07 09:23:09 -0700 |
commit | 79f907eb277227c2d386c1474985391d3d65009d (patch) | |
tree | 4b6ba3bcd2bb57718ef9f78e63a4de591b122450 /dive.c | |
parent | 47ca630cc272da0a0114658d062204bef0153796 (diff) | |
download | subsurface-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |