sched: fix build with gcc 4.3.4
authorMichael Qiu <michael.qiu@intel.com>
Wed, 2 Dec 2015 02:39:27 +0000 (10:39 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 2 Dec 2015 22:10:35 +0000 (23:10 +0100)
commit1985903e4454d9e7bc09f231c6a6b63f0eb05fb2
tree4ddb7bdbde25ffbafc482d46ce27ce131940824d
parent538020aaed8b3807935ecd7d7fb4b5f78222cddf
sched: fix build with gcc 4.3.4

gcc 4.3.4 does not include "immintrin.h", and will post below error:
    lib/librte_sched/rte_sched.c:56:23: error:
    immintrin.h: No such file or directory

This compiler issue is fixed with rte_vect.h

There is another issue, need SSE2 support

Fixes: 42ec27a0178a ("sched: enable SSE optimizations in config")

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
lib/librte_sched/rte_sched.c