summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/ss/error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/ss/error.c b/src/util/ss/error.c
index 1f2d943012..af755cc415 100644
--- a/src/util/ss/error.c
+++ b/src/util/ss/error.c
@@ -28,8 +28,9 @@
#ifndef __STDC__
/* we didn't get it in com_err.h if it wasn't STDC. */
-#ifndef STDARG_PROTOTYPES
-/* and we don't need it, either, if we're using stdarg.h... */
+#ifdef STDARG_PROTOTYPES
+#include <stdarg.h>
+#else
#include <varargs.h>
#endif
#endif