cryptodev: fix build on Suse 11 SP2
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Oct 2016 02:45:51 +0000 (03:45 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 8 Oct 2016 15:54:38 +0000 (17:54 +0200)
commitafc5dffaa0ccc7984d4504bb785d7265ccb96f5c
tree4d227bdaaa83246bec919f3bfbbb682db0ed23db
parent50d75cae2a2c521db81caf24476e2860c98f825b
cryptodev: fix build on Suse 11 SP2

This commit fixes following build error, which happens in SUSE 11 SP2,
with gcc 4.5.1:

In file included from lib/librte_cryptodev/rte_cryptodev.c:70:0:
lib/librte_cryptodev/rte_cryptodev.h:772:7:
error: flexible array member in otherwise empty struct

Fixes: 347a1e037fd3 ("lib: use C99 syntax for zero-size arrays")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_cryptodev/rte_cryptodev.h