From: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [Discuss] [PATCH] iw: handle HAVE_LIBNL20 properly
Date: Fri, 18 May 2012 13:26:13 +0300 [thread overview]
Message-ID: <20120518102612.GC3074@swordfish> (raw)
In-Reply-To: 4FB606A9.9000404@freemail.hu
[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]
On (05/18/12 10:22), Németh Márton wrote:
>
> Hi,
>
Hello,
Cc powertop(a)lists.01.org list
> starting with the commit b0d2854861de2f15671e633da11f42207d4357df
> I get the following compile time error:
>
Well, that's strange, since commit itself doesn't change much....
how about the following one
-------8<---------8<----------
Re-organize iw header includes.
Reported-by: Németh Márton <nm127(a)freemail.hu>
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
---
src/tuning/iw.c | 1 +
src/tuning/iw.h | 6 ------
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/tuning/iw.c b/src/tuning/iw.c
index aeba3fd..9e7508b 100644
--- a/src/tuning/iw.c
+++ b/src/tuning/iw.c
@@ -39,6 +39,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <unistd.h>
#include <stdbool.h>
+#include <linux/nl80211.h>
#include <netlink/genl/genl.h>
#include <netlink/genl/family.h>
#include <netlink/genl/ctrl.h>
diff --git a/src/tuning/iw.h b/src/tuning/iw.h
index acf132d..6ea5a3d 100644
--- a/src/tuning/iw.h
+++ b/src/tuning/iw.h
@@ -33,12 +33,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <stdbool.h>
-#include <netlink/netlink.h>
-#include <netlink/genl/genl.h>
-#include <netlink/genl/family.h>
-#include <netlink/genl/ctrl.h>
-
-#include <linux/nl80211.h>
#define ETH_ALEN 6
next reply other threads:[~2012-05-18 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-18 10:26 Sergey Senozhatsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-05-18 13:50 [Powertop] [Discuss] [PATCH] iw: handle HAVE_LIBNL20 properly Arjan van de Ven
2012-05-18 13:54 Sergey Senozhatsky
2012-05-21 19:19 Chris Ferron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120518102612.GC3074@swordfish \
--to=powertop@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.