crypto/scheduler: fix missing includes

This commit addresses the following compilation errors:

 In file included from build/include/rte_cryptodev_scheduler.h:37:0,
                  from /tmp/check-includes.sh.5355.c:1:
 build/include/rte_cryptodev_scheduler_operations.h:43:30: error: unknown
    type name 'uint8_t' struct rte_cryptodev *dev, uint8_t slave_id);
 [...]

Fixes: 097ab0bac0 ("crypto/scheduler: add API")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
This commit is contained in:
Adrien Mazarguil 2017-04-26 14:07:09 +02:00 committed by Thomas Monjalon
parent f8904d5636
commit f48a55f78e
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@
* operation: round robin, packet-size based, and fail-over.
*/
#include <stdint.h>
#include "rte_cryptodev_scheduler_operations.h"
#ifdef __cplusplus

View File

@ -34,6 +34,7 @@
#ifndef _RTE_CRYPTO_SCHEDULER_OPERATIONS_H
#define _RTE_CRYPTO_SCHEDULER_OPERATIONS_H
#include <rte_cryptodev.h>
#ifdef __cplusplus
extern "C" {