summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/strverscmp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/strverscmp.h b/lib/strverscmp.h
index 227668837..02af6cb6f 100644
--- a/lib/strverscmp.h
+++ b/lib/strverscmp.h
@@ -7,6 +7,14 @@
# include <config.h>
# endif
-int strverscmp (const char*, const char*);
+# ifndef PARAMS
+# if defined (__GNUC__) || __STDC__
+# define PARAMS(args) args
+# else
+# define PARAMS(args) ()
+# endif
+# endif
+
+int strverscmp PARAMS ((const char*, const char*));
#endif /* not STRVERSCMP_H_ */