From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: util-linux-owner@vger.kernel.org Received: from smtprelay-b32.telenor.se ([213.150.131.21]:38986 "EHLO smtprelay-b32.telenor.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750895AbaISAFO (ORCPT ); Thu, 18 Sep 2014 20:05:14 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b32.telenor.se (Postfix) with ESMTP id 7C2AEF1B6C for ; Fri, 19 Sep 2014 01:36:48 +0200 (CEST) From: Andreas Henriksson To: util-linux@vger.kernel.org Cc: Andreas Henriksson Subject: [PATCH 5/5] logger: gettimeofday needs Date: Fri, 19 Sep 2014 01:36:37 +0200 Message-Id: <1411083397-8056-5-git-send-email-andreas@fatal.se> In-Reply-To: <1411083397-8056-1-git-send-email-andreas@fatal.se> References: <1411083397-8056-1-git-send-email-andreas@fatal.se> Sender: util-linux-owner@vger.kernel.org List-ID: Either works on linux, but kfreebsd build fails if we don't use the include. According to man gettimeofday the correct include is Signed-off-by: Andreas Henriksson --- misc-utils/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/logger.c b/misc-utils/logger.c index 99a5569..2994dc0 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include #include -- 2.1.0.rc1