summaryrefslogtreecommitdiff
path: root/chat/unrealircd/patches/patch-src_modules_m__rping.c
blob: f817ea66d5726ac4ffc0e2ec5c297b3ac2ff20a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-src_modules_m__rping.c,v 1.1 2015/11/07 22:46:25 dholland Exp $

Avoid unnecessary use of legacy sys/timeb.h, which doesn't exist on OpenBSD.

--- src/modules/m_rping.c~	2014-07-26 15:42:10.000000000 +0000
+++ src/modules/m_rping.c
@@ -32,8 +32,8 @@
 #include <string.h>
 #ifdef _WIN32
 #include <io.h>
-#endif
 #include <sys/timeb.h>
+#endif
 #include <fcntl.h>
 #include "h.h"
 #include "proto.h"