byaccj/byaccj-gcc14.patch
Fridrich Strba 491234fd3b - Added patch:
* byaccj-gcc14.patch
    + add missing include to fix build with gcc 14 (bsc#1221696)

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byaccj?expand=0&rev=12
2024-03-19 19:01:21 +00:00

11 lines
297 B
Diff

--- byaccj1.15/src/main.c 2024-03-19 19:33:36.131296013 +0100
+++ byaccj1.15/src/main.c 2024-03-19 19:34:09.998023153 +0100
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/unistd.h>
#ifndef __WIN32__ /*rwj -- make portable*/
#include <signal.h>