iwscan: work around strange problem with older compilers

Origin commit data
------------------
Branch: ni/coolstream
Commit: 609847eed5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-10 (Sun, 10 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-10 16:57:53 +01:00
parent b0077cafc5
commit 425aef1117

View File

@@ -19,6 +19,12 @@
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))
#include <vector>
#endif
#include <sys/time.h>
extern "C" {
#include "iwlib.h" /* Header */