summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"