netsniff-ng: add missing header

Needed for ssize_t.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-08-13 20:22:26 -07:00
parent d8d06cfca2
commit 42c5bc9f9a
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
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"