1 |
commit: aec94e4d236fb91b04d21bde5f622c2af39ddee8 |
2 |
Author: Matija Skala <mskala <AT> gmx <DOT> com> |
3 |
AuthorDate: Thu Aug 17 16:03:14 2017 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 29 18:17:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=aec94e4d |
7 |
|
8 |
fix compile on hurd |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
qlop.c | 2 ++ |
13 |
1 file changed, 2 insertions(+) |
14 |
|
15 |
diff --git a/qlop.c b/qlop.c |
16 |
index babcc74..c01b3be 100644 |
17 |
--- a/qlop.c |
18 |
+++ b/qlop.c |
19 |
@@ -382,6 +382,8 @@ show_sync_history(const char *logfile, time_t start_time, time_t end_time) |
20 |
static void show_current_emerge(void); |
21 |
#ifdef __linux__ |
22 |
# include <asm/param.h> |
23 |
+#endif |
24 |
+#if defined __linux__ || defined __GNU__ |
25 |
# include <elf.h> |
26 |
static unsigned long hz = 0; |
27 |
static void init_hz(void) |