Blame SOURCES/0046-tc-include-stdint.h-explicitly-for-UINT16_MAX.patch

99be8f
From 7a77e4df94a48c35f9a4bf1fc3f8e9d1f72a77b7 Mon Sep 17 00:00:00 2001
99be8f
From: Phil Sutter <psutter@redhat.com>
99be8f
Date: Wed, 6 Feb 2019 14:50:24 +0100
99be8f
Subject: [PATCH] tc: include stdint.h explicitly for UINT16_MAX
99be8f
99be8f
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1641909
99be8f
Upstream Status: iproute2.git commit ae717baf15fb4
99be8f
99be8f
commit ae717baf15fb4d30749ada3948d9445892bac239
99be8f
Author: Khem Raj <raj.khem@gmail.com>
99be8f
Date:   Sat May 20 14:28:46 2017 -0700
99be8f
99be8f
    tc: include stdint.h explicitly for UINT16_MAX
99be8f
99be8f
    Fixes
99be8f
    | tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this function); did you mean '__INT16_MAX__'?
99be8f
    |    if ((sz >> s->size_log) > UINT16_MAX) {
99be8f
    |                              ^~~~~~~~~~
99be8f
99be8f
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
99be8f
---
99be8f
 tc/tc_core.c | 1 +
99be8f
 1 file changed, 1 insertion(+)
99be8f
99be8f
diff --git a/tc/tc_core.c b/tc/tc_core.c
99be8f
index 7bbe0d7..821b741 100644
99be8f
--- a/tc/tc_core.c
99be8f
+++ b/tc/tc_core.c
99be8f
@@ -12,6 +12,7 @@
99be8f
 
99be8f
 #include <stdio.h>
99be8f
 #include <stdlib.h>
99be8f
+#include <stdint.h>
99be8f
 #include <unistd.h>
99be8f
 #include <syslog.h>
99be8f
 #include <fcntl.h>
99be8f
-- 
99be8f
1.8.3.1
99be8f