shithub: riscv

Download patch

ref: 16bbaa20140a575efbae7336cef6eb2484a0f367
parent: a788f2000dcba29d5cbb37b74550907b00f1c554
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 */