Skip to content
Browse files

Fix compile error on FreeBSD (patch by Ricardo Buring)

Add "#include <sys/resource.h>" to conkeror-spawn-helper so that it also
builds on FreeBSD where including /usr/include/sys/wait.h doesn't automatically
includes /usr/include/sys/resource.h, too.

Found and patched by Ricardo Buring <>. Thanks!
  • Loading branch information...
1 parent fe6f180 commit 2237db5e9cbf36065c5db1c17d2da9f2b3fa788c @xtaran xtaran committed Jun 18, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 conkeror-spawn-helper.c
1 conkeror-spawn-helper.c
@@ -18,6 +18,7 @@
#include <fcntl.h>
#include <netinet/in.h>
#include <dirent.h>
+#include <sys/resource.h>
void fail(const char *msg) {
fprintf(stderr, "%s\n", msg);

0 comments on commit 2237db5

Please sign in to comment.
Something went wrong with that request. Please try again.