iwscan: work around strange problem with older compilers

This commit is contained in:
Stefan Seyfried
2013-11-10 16:57:53 +01:00
parent b93a372b54
commit 609847eed5

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 */