mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
iwscan: work around strange problem with older compilers
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user