Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 <burin080@planet.nl>. Thanks!
  • Loading branch information...
commit 2237db5e9cbf36065c5db1c17d2da9f2b3fa788c 1 parent fe6f180
Axel Beckert xtaran authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  conkeror-spawn-helper.c
1  conkeror-spawn-helper.c
@@ -18,6 +18,7 @@
18 18 #include <fcntl.h>
19 19 #include <netinet/in.h>
20 20 #include <dirent.h>
  21 +#include <sys/resource.h>
21 22
22 23 void fail(const char *msg) {
23 24 fprintf(stderr, "%s\n", msg);

0 comments on commit 2237db5

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