mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Add missing header files.
The wacky CLANG option probably needs some attention.
This commit is contained in:
parent
6f46f2a64e
commit
efae686783
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364178
10
net/hanstunnel/files/patch-echo.cpp
Normal file
10
net/hanstunnel/files/patch-echo.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- echo.cpp.orig 2014-08-06 10:11:40.000000000 -0400
|
||||
+++ echo.cpp 2014-08-06 10:11:56.000000000 -0400
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "echo.h"
|
||||
#include "exception.h"
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in.h>
|
10
net/hanstunnel/files/patch-main.cpp
Normal file
10
net/hanstunnel/files/patch-main.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- main.cpp.orig 2014-08-06 10:11:00.000000000 -0400
|
||||
+++ main.cpp 2014-08-06 10:11:12.000000000 -0400
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <syslog.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
void usage()
|
||||
{
|
@ -1,9 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- tun.cpp.orig
|
||||
+++ tun.cpp
|
||||
@@ -41,8 +41,7 @@
|
||||
--- tun.cpp.orig 2010-02-17 10:30:21.000000000 -0500
|
||||
+++ tun.cpp 2014-08-06 10:10:51.000000000 -0400
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "exception.h"
|
||||
#include "utility.h"
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in.h>
|
||||
@@ -41,8 +42,7 @@
|
||||
|
||||
if (device != NULL)
|
||||
{
|
||||
@ -13,7 +18,7 @@ $FreeBSD$
|
||||
}
|
||||
else
|
||||
this->device[0] = 0;
|
||||
@@ -68,23 +67,17 @@
|
||||
@@ -68,23 +68,17 @@
|
||||
string ips = Utility::formatIp(ip);
|
||||
string destIps = Utility::formatIp(destIp);
|
||||
|
||||
|
10
net/hanstunnel/files/patch-utility.cpp
Normal file
10
net/hanstunnel/files/patch-utility.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- utility.cpp.orig 2014-08-06 10:12:15.000000000 -0400
|
||||
+++ utility.cpp 2014-08-06 10:12:30.000000000 -0400
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
+#include <time.h>
|
||||
|
||||
using namespace std;
|
||||
|
Loading…
Reference in New Issue
Block a user