Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 81588431FAF for ; Sat, 3 Nov 2012 20:24:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6eTKJ4fgVgCc for ; Sat, 3 Nov 2012 20:24:18 -0700 (PDT) Received: from foo.net (70-36-235-136.dsl.static.sonic.net [70.36.235.136]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 03AD5431FB6 for ; Sat, 3 Nov 2012 20:24:17 -0700 (PDT) Received: from foo.net (localhost [127.0.0.1]) by foo.net (8.14.5+Sun/8.14.5) with ESMTP id qA43GGOG025700; Sat, 3 Nov 2012 20:16:16 -0700 (PDT) Received: (from blakej@localhost) by foo.net (8.14.5+Sun/8.14.5/Submit) id qA43GGa9025699; Sat, 3 Nov 2012 20:16:16 -0700 (PDT) From: Blake Jones To: notmuch@notmuchmail.org Subject: [PATCH 08/10] notmuch-config: header for index() prototype (Solaris support) Date: Sat, 3 Nov 2012 20:16:00 -0700 Message-Id: <1351998962-25135-9-git-send-email-blakej@foo.net> X-Mailer: git-send-email 1.7.3.2 In-Reply-To: <1351998962-25135-1-git-send-email-blakej@foo.net> References: <1351998962-25135-1-git-send-email-blakej@foo.net> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (foo.net [127.0.0.1]); Sat, 03 Nov 2012 20:16:16 -0700 (PDT) X-Mailman-Approved-At: Sun, 04 Nov 2012 01:30:19 -0800 Cc: Blake Jones X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 03:24:18 -0000 Linux, FreeBSD, and Solaris all expect to find the prototype for "index()" in . On some operating systems, including is sufficient to get the prototype, but that's not the case on Solaris. This patch just modifies notmuch-config.c to include to get the prototype. --- notmuch-config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/notmuch-config.c b/notmuch-config.c index 3e37a2d..2537a65 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -23,6 +23,7 @@ #include #include #include +#include static const char toplevel_config_comment[] = " .notmuch-config - Configuration file for the notmuch mail system\n" -- 1.7.9.2