git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: work around unnamed structs/unions
[dpdk.git]
/
lib
/
librte_cryptodev
/
rte_crypto.h
diff --git
a/lib/librte_cryptodev/rte_crypto.h
b/lib/librte_cryptodev/rte_crypto.h
index
5bc3eaa
..
9019518
100644
(file)
--- a/
lib/librte_cryptodev/rte_crypto.h
+++ b/
lib/librte_cryptodev/rte_crypto.h
@@
-48,6
+48,7
@@
extern "C" {
#include <rte_mbuf.h>
#include <rte_memory.h>
#include <rte_mempool.h>
#include <rte_mbuf.h>
#include <rte_memory.h>
#include <rte_mempool.h>
+#include <rte_common.h>
#include "rte_crypto_sym.h"
#include "rte_crypto_sym.h"
@@
-111,6
+112,7
@@
struct rte_crypto_op {
void *opaque_data;
/**< Opaque pointer for user data */
void *opaque_data;
/**< Opaque pointer for user data */
+ RTE_STD_C11
union {
struct rte_crypto_sym_op *sym;
/**< Symmetric operation parameters */
union {
struct rte_crypto_sym_op *sym;
/**< Symmetric operation parameters */