summaryrefslogtreecommitdiff
path: root/mail/balsa/files/patch-libbalsa_imap_imap-handle.c
blob: 6a5f8115837473645c62bb4dfe6d9c243f53fcb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- libbalsa/imap/imap-handle.c.orig	Sun Feb 20 13:54:21 2005
+++ libbalsa/imap/imap-handle.c	Sat Mar 19 14:40:45 2005
@@ -18,10 +18,13 @@
  */
 #include "config.h"
 
+#ifndef __FreeBSD__
 #define _POSIX_SOURCE 1
+#endif
 #define _BSD_SOURCE   1
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <netdb.h>
 #include <glib.h>
 #include <glib-object.h>