git: 9front

Download patch

ref: ede2eecc0e01bc3ec9696bfc921d1f617f6ca9fc
parent: 9cd51bc9a07fe384a09a9f0ff9066751fcffca26
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed May 27 17:48:42 EDT 2015

ape: include <sys/types.h> in <sys/wait.h> for pid_t (thanks jens staal)

--- a/sys/include/ape/sys/wait.h
+++ b/sys/include/ape/sys/wait.h
@@ -1,5 +1,10 @@
 #ifndef __WAIT_H
 #define __WAIT_H
+
+#ifndef __TYPES_H
+#include <sys/types.h>
+#endif
+
 #pragma lib "/$M/lib/ape/libap.a"
 
 /* flag bits for third argument of waitpid */
--