HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/www/logtools/files/patch-clfdomainsplit.cpp
--- clfdomainsplit.cpp.orig	2016-12-25 15:08:38 UTC
+++ clfdomainsplit.cpp
@@ -1,15 +1,18 @@
-#include <stdio.h>
-
+#include <cstdio>
+#include <cstdlib>
 #include <unordered_map>
 
 #include <unistd.h>
 #include <cstring>
 #include <vector>
-#include <ctype.h>
+#include <cctype>
+#include <string>
 #include "logtools.h"
 
 using namespace std;
+#if !defined(_LIBCPP_VERSION)
 using namespace __gnu_cxx;
+#endif
 
 // MAX_FDS is the maximum number of files that will be directly written to
 // by one process