From 5b8a0c7479776f7781e497dd5fdacc17d9aad0ae Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 15 Jul 2013 17:45:32 +0200 Subject: include: don't force compiler to enter C++11 mode Thomas reports that g++ forces you to enable C++11 mode if you want to use . Tested with g++ (GCC) 4.4.4. He reports that this compiles fine without the special headers. So let's get rid of them. This reverts bb8c40e. Reported-by: Thomas Jarosch Signed-off-by: Pablo Neira Ayuso Tested-by: Thomas Jarosch --- include/libmnl/libmnl.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h index a647fd9..223709c 100644 --- a/include/libmnl/libmnl.h +++ b/include/libmnl/libmnl.h @@ -1,14 +1,9 @@ #ifndef _LIBMNL_H_ #define _LIBMNL_H_ -#ifdef __cplusplus -# include -# include -#else -# include /* not in C++ */ -# include -# include -#endif +#include +#include +#include #include #include /* for sa_family_t */ #include -- cgit v1.2.3