mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
net-mgmt/openbmp: fix build with GCC architectures
Building with GCC requires include sys/types.h in Server/src/Logger.h. /wrkdirs/usr/ports/net-mgmt/openbmp/work/openbmp-0.14.0/Server/src/Logger.h:99:27: error: 'u_char' has not been declared void setWidthFunction(u_char width); PR: 239329 Approved by: pizzamig (maintainer), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D21026
This commit is contained in:
parent
6248be5521
commit
ddfde0b706
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507636
10
net-mgmt/openbmp/files/patch-Server_src_Logger.h
Normal file
10
net-mgmt/openbmp/files/patch-Server_src_Logger.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- Server/src/Logger.h.orig 2019-07-20 08:42:40 UTC
|
||||
+++ Server/src/Logger.h
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <iostream>
|
||||
#include <cstdint>
|
||||
|
||||
+#include <sys/types.h>
|
||||
|
||||
/*
|
||||
* DEBUG is a macro for DebugPrint with FILE, LINE, FUNCTION added
|
Loading…
Reference in New Issue
Block a user