[imapproxy] Imapproxy under FreeBSD?

Robert Brewer rbrewer+imapproxy at lava.net
Thu Jan 23 17:23:48 PST 2003


Chris Hastie wrote:
> I guess this is a bit of a problem, since a trawl of the archives
> reveals only a question just as I was going to ask, with no answers
> <http://lists.horde.org/archives/imapproxy/Week-of-Mon-20021021/000021.html>
>
> Has anything changed since October? Anyone out there figured out how to
> compile ImapProxy under FreeBSD.

Here are my patches to make it compile under FreeBSD 4.7. There were problems 
in three files, all of which turned out to be fairly easy include file 
problems.

If these changes don't break the code on other OSes, can someone roll them 
into CVS?


--- configfile.c        2002-08-09 03:24:23-10  1.1
+++ configfile.c        2002-10-30 16:04:26-10  1.2
@@ -23,6 +23,7 @@
 #include <string.h>
 #include <strings.h>
 #include <stdlib.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>

--- database.c  2002-08-09 03:24:23-10  1.1
+++ database.c  2002-10-30 15:58:02-10  1.2
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>

--- network.c   2002-08-09 03:24:23-10  1.1
+++ network.c   2002-10-30 15:56:13-10  1.2
@@ -20,9 +20,9 @@


 #include <stdio.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
-#include <sys/types.h>
 #include <string.h>
 #include <netdb.h>
 #include <unistd.h>



More information about the imapproxy mailing list