From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC4C11382C5 for ; Fri, 30 Mar 2018 05:56:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A0A8E090A; Fri, 30 Mar 2018 05:56:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6100EE090A for ; Fri, 30 Mar 2018 05:56:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B225C335CDB for ; Fri, 30 Mar 2018 05:56:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2BB326F for ; Fri, 30 Mar 2018 05:56:51 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1522347453.aec94e4d236fb91b04d21bde5f622c2af39ddee8.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qlop.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: aec94e4d236fb91b04d21bde5f622c2af39ddee8 X-VCS-Branch: master Date: Fri, 30 Mar 2018 05:56:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 804ab78d-472e-4d14-aa56-e1e1da30820a X-Archives-Hash: 6491d6f7cf3024ee635cfd98f115b802 commit: aec94e4d236fb91b04d21bde5f622c2af39ddee8 Author: Matija Skala gmx com> AuthorDate: Thu Aug 17 16:03:14 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Mar 29 18:17:33 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=aec94e4d fix compile on hurd Signed-off-by: Fabian Groffen gentoo.org> qlop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qlop.c b/qlop.c index babcc74..c01b3be 100644 --- a/qlop.c +++ b/qlop.c @@ -382,6 +382,8 @@ show_sync_history(const char *logfile, time_t start_time, time_t end_time) static void show_current_emerge(void); #ifdef __linux__ # include +#endif +#if defined __linux__ || defined __GNU__ # include static unsigned long hz = 0; static void init_hz(void)