1From 52590fbf735cef3fec85a042458aa89a02c52b57 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 15 Jul 2017 11:33:12 -0700
4Subject: [PATCH] nicstat.c: Do not define uint64_t and uint32_t
5
6Use the defines from platform
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10---
11Upstream-Status: Pending
12
13 nicstat.c | 3 +--
14 1 file changed, 1 insertion(+), 2 deletions(-)
15
16diff --git a/nicstat.c b/nicstat.c
17index 83ad557..2a6e0c1 100644
18--- a/nicstat.c
19+++ b/nicstat.c
20@@ -32,6 +32,7 @@
21
22 #include <stdio.h>
23 #include <stdlib.h>
24+#include <stdint.h>
25 #include <unistd.h>
26 #include <string.h>
27 #include <ctype.h>
28@@ -88,8 +89,6 @@
29 #define	PROC_NET_BUFSIZ		(128 * 1024)
30 #define	PROC_UPTIME		"/proc/uptime"
31 /* Needs to be fixed if not built under ILP32 */
32-typedef unsigned long long	uint64_t;
33-typedef unsigned int		uint32_t;
34 extern char *optarg;
35 extern int optind, opterr, optopt;
36 #endif /* OS_LINUX */
37--
382.13.3
39
40