From 038a45a8a1c52348b80a36cc8d47034298af7fe3 Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Tue, 16 Feb 2016 20:43:00 +0100 Subject: [PATCH] Fix compilation errors on OpenIndiana caused by missing limit macros. --- ntfsprogs/ntfsmove.c | 3 +++ ntfsprogs/ntfswipe.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ntfsprogs/ntfsmove.c b/ntfsprogs/ntfsmove.c index 123041dd..3cf695a8 100644 --- a/ntfsprogs/ntfsmove.c +++ b/ntfsprogs/ntfsmove.c @@ -36,6 +36,9 @@ #ifdef HAVE_STRING_H #include #endif +#ifdef HAVE_LIMITS_H +#include +#endif #include "types.h" #include "attrib.h" diff --git a/ntfsprogs/ntfswipe.c b/ntfsprogs/ntfswipe.c index 634f3154..52e075d1 100644 --- a/ntfsprogs/ntfswipe.c +++ b/ntfsprogs/ntfswipe.c @@ -53,6 +53,9 @@ #ifdef HAVE_TIME_H #include #endif +#ifdef HAVE_LIMITS_H +#include +#endif #include "ntfswipe.h" #include "types.h"