1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +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:
Piotr Kubaj 2019-07-30 12:16:23 +00:00
parent 6248be5521
commit ddfde0b706
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507636

View 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