blob: 674adfedc74ddc0cafd4881ee33f0096498b7f32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ag,v 1.2 2006/02/08 18:25:24 drochner Exp $
--- libbalsa/imap/imap-handle.c.orig 2005-06-11 10:23:54.000000000 +0200
+++ libbalsa/imap/imap-handle.c
@@ -20,9 +20,13 @@
#define _POSIX_C_SOURCE 199506L
#define _XOPEN_SOURCE 500
+#define _NETBSD_SOURCE 1
#include <sys/types.h>
#include <sys/socket.h>
+#ifdef __NetBSD__
+#include <netinet/in.h>
+#endif
#include <netdb.h>
#include <glib.h>
#include <glib-object.h>
|