forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
19 lines
374 B
C++
19 lines
374 B
C++
--- src/irc/dcc.cpp.orig
|
|
+++ src/irc/dcc.cpp
|
|
@@ -17,12 +17,13 @@
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
+#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
#include <fcntl.h>
|
|
-#include <errno.h>
|
|
-#include <string.h>
|
|
+#include <cerrno>
|
|
+#include <cstring>
|
|
#include <sys/types.h>
|
|
-#include <netinet/in.h>
|
|
+#include <unistd.h>
|
|
|
|
#include "dcc.h"
|
|
#include "nick.h"
|