mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
47ca630cc2
commit
79f907eb27
1 changed files with 1 additions and 0 deletions
1
dive.c
1
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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue