ports/print/transfig/patches/patch-fig2dev_dev_readeps_c

13 lines
330 B
Text

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"