chiark / gitweb /
Build fix for Linux
[disorder] / lib / wstat.h
index afae5943c50a642210e55b2af0428eb83aa93a43..944048dd2edc99fb64fad4f9d761b3c04a13dd5c 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef WSTAT_H
 #define WSTAT_H
 
+#include <sys/wait.h>
+
 const char *wstat(int w);
 /* Format wait status @w@.  In extremis the return value might be a
  * pointer to a string literal.  The result should always be ASCII. */