mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 06:00:30 -04:00
- Fix build with GCC > 4.2. Submitted by: Raphael Kubo da Costa <kubito@gmail.com> via area51
14 lines
379 B
C++
14 lines
379 B
C++
This patch is needed in order to make the port build with a gcc newer than the one in base.
|
|
|
|
FILE* is used in preprocessor.cpp, so a suitable declaration is needed.
|
|
|
|
--- generator/parser/rpp/preprocessor.cpp
|
|
+++ generator/parser/rpp/preprocessor.cpp
|
|
@@ -41,6 +41,7 @@
|
|
|
|
#include "preprocessor.h"
|
|
|
|
+#include <cstdio>
|
|
#include <string>
|
|
|
|
// register callback for include hooks
|