Imported Upstream version 16.11
[deb_dpdk.git] / lib / librte_eal / common / include / arch / ppc_64 / rte_cycles.h
index 64beddf..8fa6fc6 100644 (file)
@@ -40,6 +40,7 @@ extern "C" {
 #include "generic/rte_cycles.h"
 
 #include <rte_byteorder.h>
+#include <rte_common.h>
 
 /**
  * Read the time base register.
@@ -52,6 +53,7 @@ rte_rdtsc(void)
 {
        union {
                uint64_t tsc_64;
+               RTE_STD_C11
                struct {
 #if RTE_BYTE_ORDER == RTE_BIG_ENDIAN
                        uint32_t hi_32;