« Return to Thread: [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.

[PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.

by burin080 :: Rate this Message:

Reply to Author | View in Thread

[PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.

Hello list,

I had to add this include directive to compile the conkeror-spawn-helper under FreeBSD 7.2. Conkeror is running wonderfully and edit-current-field-in-external-editor now works as it did under Linux.

Cheers,

Ricardo Buring

---
 conkeror-spawn-helper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/conkeror-spawn-helper.c b/conkeror-spawn-helper.c
index dcad86d..d3ffbc4 100644
--- a/conkeror-spawn-helper.c
+++ b/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);
--
1.6.3.2


_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

 « Return to Thread: [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.