summaryrefslogtreecommitdiff
path: root/include/sudo_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sudo_compat.h')
-rw-r--r--include/sudo_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sudo_compat.h b/include/sudo_compat.h
index d62dea7d6..ee3c22962 100644
--- a/include/sudo_compat.h
+++ b/include/sudo_compat.h
@@ -157,7 +157,7 @@
#endif
#if defined(HAVE_DECL_SSIZE_MAX) && !HAVE_DECL_SSIZE_MAX
-# define SIZE_MAX LONG_MAX
+# define SSIZE_MAX LONG_MAX
#endif
#if defined(HAVE_DECL_PATH_MAX) && !HAVE_DECL_PATH_MAX