Hi Jan, On Thursday, 11. November 2010 00:08:01 you wrote: > Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx> > --- > include/libmnl/libmnl.h | 13 ++++++++----- > 1 files changed, 8 insertions(+), 5 deletions(-) > > diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h > index 7094af2..37c502a 100644 > --- a/include/libmnl/libmnl.h > +++ b/include/libmnl/libmnl.h > @@ -1,13 +1,16 @@ > #ifndef _LIBMNL_H_ > #define _LIBMNL_H_ > > -#include <stdio.h> > -#include <stdint.h> > +#ifdef __cplusplus > +# include <cstdio> > +# include <cstdint> > +#else > +# include <stdbool.h> /* not in C++ */ > +# include <stdio.h> > +# include <stdint.h> > +#endif just a side note regarding this old commit: The header "<cstdint>" is part of the C++11 standard. (http://www.cplusplus.com/reference/cstdint/) g++ forces you to enable C++11 mode if you want to use it. Tested with g++ (GCC) 4.4.4. Do we really need this? It compiles fine without the special headers inside the __cplusplus part. Pablo asked the same back in 2010 ;) Best regards, Thomas -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html