lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-ivwuz8f68tb3sdcpguo9wmvx@git.kernel.org>
Date:	Wed, 13 Jul 2016 00:11:11 -0700
From:	tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	jolsa@...nel.org, adrian.hunter@...el.com, acme@...hat.com,
	mingo@...nel.org, dsahern@...il.com, linux-kernel@...r.kernel.org,
	namhyung@...nel.org, wangnan0@...wei.com, tglx@...utronix.de,
	hpa@...or.com
Subject: [tip:perf/core] perf tools: Add missing header to color.c

Commit-ID:  16b7c9bda52a593fb3a7e3a9848d7596777a73f5
Gitweb:     http://git.kernel.org/tip/16b7c9bda52a593fb3a7e3a9848d7596777a73f5
Author:     Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Thu, 7 Jul 2016 11:37:08 -0300
Committer:  Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Tue, 12 Jul 2016 15:19:58 -0300

perf tools: Add missing header to color.c

It uses isatty(), so needs unistd.h, include it.

Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Wang Nan <wangnan0@...wei.com>
Link: http://lkml.kernel.org/n/tip-ivwuz8f68tb3sdcpguo9wmvx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
 tools/perf/util/color.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/util/color.c b/tools/perf/util/color.c
index 1210ba5..47a34b5 100644
--- a/tools/perf/util/color.c
+++ b/tools/perf/util/color.c
@@ -3,6 +3,7 @@
 #include "config.h"
 #include "color.h"
 #include <math.h>
+#include <unistd.h>
 
 int perf_use_color_default = -1;
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ