unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mike Kelly <pioto@pioto.org>
To: notmuch@notmuchmail.org
Subject: [PATCH 03/10] Fix compilation of smtp-dummy on FreeBSD
Date: Fri, 25 May 2012 09:43:24 -0400	[thread overview]
Message-ID: <1337953411-21000-4-git-send-email-pioto@pioto.org> (raw)
In-Reply-To: <1337953411-21000-1-git-send-email-pioto@pioto.org>

---
 test/smtp-dummy.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
index 3801a5e..aa82fa1 100644
--- a/test/smtp-dummy.c
+++ b/test/smtp-dummy.c
@@ -33,11 +33,14 @@
  * have been warned.
  */
 
+#define _GNU_SOURCE /* for getline */
 #include <stdio.h>
 #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>
 
-- 
1.7.10.2

  parent reply	other threads:[~2012-05-25 13:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-25 13:43 FreeBSD Support Patches Mike Kelly
2012-05-25 13:43 ` [PATCH 01/10] Add support for FreeBSD Mike Kelly
2012-05-25 13:43 ` [PATCH 02/10] Fix compilation of symbol-test on FreeBSD Mike Kelly
2012-05-25 13:43 ` Mike Kelly [this message]
2012-05-26  9:52   ` [PATCH 03/10] Fix compilation of smtp-dummy " Jani Nikula
2012-05-25 13:43 ` [PATCH 04/10] Test against man pages in our source dir, not installed ones Mike Kelly
2012-05-25 13:43 ` [PATCH 05/10] Make test/basic more portable Mike Kelly
2012-05-25 13:43 ` [PATCH 06/10] Fix test/count on FreeBSD Mike Kelly
2012-05-26  2:42   ` Peter Wang
2012-05-25 13:43 ` [PATCH 07/10] emacs tests require emacs Mike Kelly
2012-05-25 13:43 ` [PATCH 08/10] test/atomicity: use a more portable 'cp' form Mike Kelly
2012-05-25 13:43 ` [PATCH 09/10] test/crypto: current tests require emacs Mike Kelly
2012-05-25 13:43 ` [PATCH 10/10] tests: bsd sed doesn't allow replacing '\n' Mike Kelly
2012-05-25 14:15 ` FreeBSD Support Patches Dmitry Kurochkin
2012-05-25 20:02   ` Mike Kelly
2012-05-26  1:07     ` Dmitry Kurochkin
2012-05-25 20:53 ` Tomi Ollila

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337953411-21000-4-git-send-email-pioto@pioto.org \
    --to=pioto@pioto.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).