package/netsniff-ng: add missing header

Like for nfs-utils and strongswan, add stdint.h header for
UINT16_MAX definition

Reported-by: Ross <grunpferd@netscape.net>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Romain Naour 2017-10-02 22:52:59 +02:00 committed by Peter Korsgaard
parent 854d61f7aa
commit 9b19586f93

View File

@ -0,0 +1,31 @@
From 551aa0ee996132e443b5d12cbb6f114ac9aabcd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
Date: Mon, 3 Jul 2017 18:24:32 +0200
Subject: [PATCH] staging: compilation fix with new gcc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Upstream patch 551aa0ee996132e443b5d12cbb6f114ac9aabcd3
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
staging/mz.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/staging/mz.h b/staging/mz.h
index 5ed05a7..aa2c36f 100644
--- a/staging/mz.h
+++ b/staging/mz.h
@@ -40,6 +40,7 @@
#include <netinet/in.h>
#include <stdarg.h>
#include <math.h>
+#include <stdint.h>
extern int verbose_level;
--
2.9.5