From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759665Ab2IEVxO (ORCPT ); Wed, 5 Sep 2012 17:53:14 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:47781 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759605Ab2IEVxN (ORCPT ); Wed, 5 Sep 2012 17:53:13 -0400 From: David Ahern To: acme@ghostprotocols.net, linux-kernel@vger.kernel.org Cc: David Ahern , Ingo Molnar , Frederic Weisbecker , Peter Zijlstra Subject: [PATCH] perf: remove unneeded include of network header files Date: Wed, 5 Sep 2012 15:53:06 -0600 Message-Id: <1346881986-59136-1-git-send-email-dsahern@gmail.com> X-Mailer: git-send-email 1.7.10.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org perf does not have networking related functionality, and the inclusion of these headers is one of the causes of compile failures for Android: https://lkml.org/lkml/2012/8/23/316 https://lkml.org/lkml/2012/8/28/293 So, remove them. v2: - netdb.h is required by trace-event-perl.c, so leave it in Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra --- tools/perf/util/util.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 00a93a9..b89a88c 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -69,10 +69,6 @@ #include #include #include -#include -#include -#include -#include #include #include #include "../../../include/linux/magic.h" -- 1.7.10.1