summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 27473cfe6..a7a180a88 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -14,10 +14,8 @@
* ---------------------------------------------------
*/
-#ifdef __linux__
+#include <sys/time.h>
#include <sys/resource.h>
-#endif
-
#include <sys/types.h>
#include <string>
#include <unistd.h>
@@ -96,9 +94,7 @@ int DaemonSeed (void)
close(1);
close(2);
- #ifdef __linux__
setpriority(PRIO_PROCESS,(int)getpid(),15); /* ircd sets to low process priority so it doesnt hog the box */
- #endif
return (TRUE);
}