iwscan: fix also for newer ppc compilers

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8560917a6f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-24 (Sun, 24 Nov 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-11-24 22:39:47 +01:00
parent 17ea0d10ab
commit 76e2b19538

View File

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