ports/print/transfig/patches/patch-fig2dev_dev_readpics_c

14 lines
303 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fix undefined references to `WIFEXITED' and `WEXITSTATUS'.
Index: fig2dev/dev/readpics.c
--- fig2dev/dev/readpics.c.orig
+++ fig2dev/dev/readpics.c
@@ -31,6 +31,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <sys/wait.h>
#include "messages.h"
#include "xtmpfile.h"