iwscan: fix also for newer ppc compilers

Origin commit data
------------------
Commit: 8560917a6f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-24 (Sun, 24 Nov 2013)
This commit is contained in:
Stefan Seyfried
2013-11-24 22:39:47 +01:00
parent 3178950e3f
commit b17ebf8194

View File

@@ -19,11 +19,10 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* something is fishy with old compilers: if vector gets included later from /* something is fishy with ppc compilers: if vector gets included later from
* iwscan.h it blows up in the c++config.h libstdc++ header... */ * iwscan.h it blows up in the c++config.h libstdc++ header...
#if __GNUC__ == 4 && (__GNUC_MINOR__ < 5 || (__GNUC_MINOR__ == 5 && __GNUC_PATCHLEVEL__ < 3)) * probably caused by the redefinition of the "inline" keyword in iwlib.h. */
#include <vector> #include <vector>
#endif
#include <sys/time.h> #include <sys/time.h>
extern "C" { extern "C" {