Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile on debian jessie #4

Open
lovasoa opened this issue Jun 3, 2017 · 1 comment
Open

Does not compile on debian jessie #4

lovasoa opened this issue Jun 3, 2017 · 1 comment

Comments

@lovasoa
Copy link

lovasoa commented Jun 3, 2017

While compiling in debian, I get this error:

driver.c: In function ‘process_options’:
driver.c:892:35: error: ‘pid_t’ undeclared (first use in this function)
   pids = malloc(children * sizeof(pid_t));
                                   ^
@luw2007
Copy link

luw2007 commented May 27, 2019

diff --git a/driver.c b/driver.c
index 4f4c903..c5b50de 100644
--- a/driver.c
+++ b/driver.c
@@ -11,6 +11,7 @@
#ifndef DOS
#include <unistd.h>
#include <sys/wait.h>
+#include <sys/types.h>
#endif

#endif /* WIN32 */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants