summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-14 13:44:51 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-14 13:44:51 +0000
commit4fcd9c9f2c71e14781ce230899f60ba3df88ffc5 (patch)
tree388012ebe04f6451585759d397f2aee750957661 /src/inspircd_io.cpp
parent236d23e6540b437a77546410c8740d337e56db02 (diff)
Unknown change
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@884 e03df62e-2008-0410-955e-edbf42e46eb7
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);
}