aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--internal.h1
-rw-r--r--llabs.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 190de0e..9c40020 100644
--- a/internal.h
+++ b/internal.h
@@ -8,6 +8,7 @@
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
+#include <limits.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
diff --git a/llabs.c b/llabs.c
index 539a0c4..cdc75f6 100644
--- a/llabs.c
+++ b/llabs.c
@@ -21,7 +21,7 @@ liberror_llabs(long long int i)
if (i != LLONG_MIN)
return llabs(i);
liberror_save_backtrace(NULL);
- liberror_llabs(i);
+ liberror_llabs_failed(i);
return i;
#endif
}