ports/print/transfig/patches/patch-fig2dev_dev_readeps_c

14 lines
330 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fix undefined references to `WIFEXITED' and `WEXITSTATUS'.
Index: fig2dev/dev/readeps.c
--- fig2dev/dev/readeps.c.orig
+++ fig2dev/dev/readeps.c
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <sys/wait.h>
#include "fig2dev.h" /* includes bool.h and object.h */
//#include "object.h"