diff options
author | John Marino <marino@FreeBSD.org> | 2013-10-01 18:02:36 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2013-10-01 18:02:36 +0000 |
commit | 1794478b8bbef3a45a88d8243dc762e8684c6b0e (patch) | |
tree | f3a7181f31c1a70cd3ed0769b727a65b6ccb8cce /net/pktanon/files/patch-src_Timer.cpp | |
parent | Fix build with old xorg on 10-CURRENT. (diff) |
lib/pktanon: add <unistd.h> for modern compilers
USE_DOS2UNIX had to be set in order to apply the patch.
Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'net/pktanon/files/patch-src_Timer.cpp')
-rw-r--r-- | net/pktanon/files/patch-src_Timer.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/pktanon/files/patch-src_Timer.cpp b/net/pktanon/files/patch-src_Timer.cpp new file mode 100644 index 000000000000..b9bb908b616b --- /dev/null +++ b/net/pktanon/files/patch-src_Timer.cpp @@ -0,0 +1,10 @@ +--- src/Timer.cpp.orig 2013-10-01 17:57:00.000000000 +0000 ++++ src/Timer.cpp +@@ -16,6 +16,7 @@ + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + // + ++#include <unistd.h> + #include "Timer.h" + + Timer::Timer () |