1
0
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:
Adam Weinberger 2014-08-06 14:15:04 +00:00
parent 6f46f2a64e
commit efae686783
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364178
4 changed files with 42 additions and 7 deletions

View 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>

View 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()
{

View File

@ -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);

View 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;