1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/net-mgmt/openbmp/files/patch-Server_src_Logger.h
Piotr Kubaj ddfde0b706 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
2019-07-30 12:16:23 +00:00

11 lines
236 B
C++

--- 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