[Bug 1735158] Re: FTBFS with gcc7
Andreas Hasenack
andreas at canonical.com
Wed Nov 29 12:12:51 UTC 2017
commit ae717baf15fb4d30749ada3948d9445892bac239
Author: Khem Raj <raj.khem at gmail.com>
Date: Sat May 20 14:28:46 2017 -0700
tc: include stdint.h explicitly for UINT16_MAX
Fixes
| tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this function); did you mean '__INT16_MAX__'?
| if ((sz >> s->size_log) > UINT16_MAX) {
| ^~~~~~~~~~
Signed-off-by: Khem Raj <raj.khem at gmail.com>
diff --git a/tc/tc_core.c b/tc/tc_core.c
index 7bbe0d73..821b741b 100644
--- a/tc/tc_core.c
+++ b/tc/tc_core.c
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include <unistd.h>
#include <syslog.h>
#include <fcntl.h>
** Changed in: iproute2 (Ubuntu)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: iproute2 (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to iproute2 in Ubuntu.
https://bugs.launchpad.net/bugs/1735158
Title:
FTBFS with gcc7
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1735158/+subscriptions
More information about the Ubuntu-server-bugs
mailing list