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
eal: let all architectures use generic I/O implementation
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_time.h
diff --git
a/lib/librte_eal/common/include/rte_time.h
b/lib/librte_eal/common/include/rte_time.h
index
4b13b9c
..
28c6274
100644
(file)
--- a/
lib/librte_eal/common/include/rte_time.h
+++ b/
lib/librte_eal/common/include/rte_time.h
@@
-31,6
+31,12
@@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _RTE_TIME_H_
+#define _RTE_TIME_H_
+
+#include <stdint.h>
+#include <time.h>
+
#define NSEC_PER_SEC 1000000000L
/**
@@
-120,3
+126,5
@@
rte_ns_to_timespec(uint64_t nsec)
return ts;
}
+
+#endif /* _RTE_TIME_H_ */