Re: [Powertop] [PATCH v2] conditionally disable pci if not supported

2012-06-25 Thread Rajagopal Venkat
On 25 June 2012 21:34, Arjan van de Ven wrote: > On 6/25/2012 9:00 AM, Rajagopal Venkat wrote: > > > > Ok. Taken care. > > > > > diff --git a/src/lib.h b/src/lib.h > > index 588c023..d354151 100644 > > --- a/src/lib.h > > +++ b/src/lib.h > > @@ -30,6 +30,10 @@ > > #endif > > #include > > > >

Re: [Powertop] [PATCH v2] conditionally disable pci if not supported

2012-06-25 Thread Arjan van de Ven
On 6/25/2012 9:00 AM, Rajagopal Venkat wrote: > > diff --git a/src/lib.h b/src/lib.h > index 588c023..d354151 100644 > --- a/src/lib.h > +++ b/src/lib.h > @@ -30,6 +30,10 @@ > #endif > #include > > +#if HAVE_CONFIG_H > +#include "config.h" > +#endif > + > #ifndef DISABLE_I18N > #define

[Powertop][PATCH v2] conditionally disable pci if not supported

2012-06-25 Thread Rajagopal Venkat
Signed-off-by: Rajagopal Venkat --- configure.ac |5 +++-- src/lib.cpp | 20 ++-- src/lib.h|4 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 4da4eea..3cbc7b0 100644 --- a/configure.ac +++ b/configure.ac @@ -48