Merge pull request #13108 from neheb/nets

netsniff-ng: add missing header
This commit is contained in:
Rosen Penev 2020-08-15 15:32:39 -07:00 committed by GitHub
commit d47ac3eb40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=netsniff-ng
PKG_VERSION:=0.6.7
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/netsniff-ng/netsniff-ng/tar.gz/v$(PKG_VERSION)?

View File

@ -0,0 +1,10 @@
--- a/cookie.c
+++ b/cookie.c
@@ -2,6 +2,7 @@
#include <stdio.h>
#include <string.h>
#include <syslog.h>
+#include <sys/types.h>
#include "cookie.h"