projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8428e04
)
test/smtp-dummy.c: fix compilation on FreeBSD
author
Mike Kelly
<pioto@pioto.org>
Wed, 30 May 2012 07:01:59 +0000
(
03:01
-0400)
committer
David Bremner
<bremner@debian.org>
Sun, 2 Sep 2012 02:16:18 +0000
(23:16 -0300)
Use the more portable netint/in.h, instead of netint/ip.h, to include
htons(3), etc.
test/smtp-dummy.c
patch
|
blob
|
history
diff --git
a/test/smtp-dummy.c
b/test/smtp-dummy.c
index 3801a5e066c7c8fe1804ca3306e250fb0eb962f7..86d43162d9750e029b134477ff3ec1f05e101317 100644
(file)
--- a/
test/smtp-dummy.c
+++ b/
test/smtp-dummy.c
@@
-37,7
+37,9
@@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#include <netinet/ip.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>