java-atk-wrapper/java-atk-wrapper-fortify-decl.patch

30 lines
821 B
Diff

---
jni/src/jawtoplevel.c | 1 +
jni/src/jawutil.c | 1 +
2 files changed, 2 insertions(+)
Index: java-atk-wrapper-0.30.4/jni/src/jawtoplevel.c
===================================================================
--- java-atk-wrapper-0.30.4.orig/jni/src/jawtoplevel.c
+++ java-atk-wrapper-0.30.4/jni/src/jawtoplevel.c
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <glib.h>
#include "jawtoplevel.h"
Index: java-atk-wrapper-0.30.4/jni/src/jawutil.c
===================================================================
--- java-atk-wrapper-0.30.4.orig/jni/src/jawutil.c
+++ java-atk-wrapper-0.30.4/jni/src/jawutil.c
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <glib.h>
#include "jawutil.h"
#include "jawtoplevel.h"