Group :: Networking/WWW
RPM: siege
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: siege-limits.patch
Download
Download
diff --git a/siege/src/setup.h b/siege/src/setup.h
index 553d3b8..c6af1c7 100644
--- siege/src/setup.h
+++ siege/src/setup.h
@@ -33,6 +33,7 @@
#include <pthread.h>
#include <ctype.h>
#include <stdarg.h>
+#include <limits.h>
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
@@ -123,17 +124,6 @@ int strlen();
#define MAXREPS 10301062
-#ifndef CHAR_BIT
-# define CHAR_BIT 8
-#endif
-
-#ifndef INT_MIN
-# define INT_MIN (~0 << (sizeof (int) * CHAR_BIT - 1))
-#endif
-#ifndef INT_MAX
-# define INT_MAX (~0 - INT_MIN)
-#endif
-
void display_help();
void display_version(BOOLEAN b);