From patchwork Tue Aug 12 07:12:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 4711571 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A0BE09F319 for ; Tue, 12 Aug 2014 07:12:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F264B20155 for ; Tue, 12 Aug 2014 07:12:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CB19E2012F for ; Tue, 12 Aug 2014 07:12:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752454AbaHLHMS (ORCPT ); Tue, 12 Aug 2014 03:12:18 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:57882 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752253AbaHLHMS (ORCPT ); Tue, 12 Aug 2014 03:12:18 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D6D8134043D; Tue, 12 Aug 2014 07:12:16 +0000 (UTC) From: Mike Frysinger To: libtirpc-devel@lists.sourceforge.net Cc: linux-nfs@vger.kernel.org Subject: [PATCH [libtirpc]] include stdarg.h when used Date: Tue, 12 Aug 2014 03:12:12 -0400 Message-Id: <1407827532-31173-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 2.0.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The debug.h header uses va_list but doesn't include stdarg.h which can lead to random build failures. Signed-off-by: Mike Frysinger --- src/debug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/debug.h b/src/debug.h index afc8d57..c971ac3 100644 --- a/src/debug.h +++ b/src/debug.h @@ -21,6 +21,8 @@ #ifndef _DEBUG_H #define _DEBUG_H + +#include #include extern int libtirpc_debug_level;