File implicit-fortify-decl.patch of Package java-1_6_0-openjdk
--- openjdk/hotspot/agent/src/os/linux/salibelf.c 2015-04-09 03:20:15.000000000 +0200
+++ openjdk/hotspot/agent/src/os/linux/salibelf.c 2015-06-16 10:29:44.558102265 +0200
@@ -25,6 +25,7 @@
#include "salibelf.h"
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
extern void print_debug(const char*,...);
--- openjdk/jdk/src/share/native/sun/java2d/opengl/OGLContext.c 2017-09-15 23:44:57.783173118 +0200
+++ openjdk/jdk/src/share/native/sun/java2d/opengl/OGLContext.c 2017-09-15 23:45:49.790984182 +0200
@@ -38,6 +38,8 @@
#include "GraphicsPrimitiveMgr.h"
#include "Region.h"
+#include <jvm.h>
+
/**
* The following methods are implemented in the windowing system (i.e. GLX
* and WGL) source files.