eal/x86: include common header
[dpdk.git] / lib / librte_eal / common / arch / x86 / rte_cycles.c
index 1049d65..417850e 100644 (file)
@@ -35,6 +35,8 @@
 #include <unistd.h>
 #include <cpuid.h>
 
+#include <rte_common.h>
+
 #include "eal_private.h"
 
 static unsigned int
@@ -70,6 +72,9 @@ rdmsr(int msr, uint64_t *val)
 
        return ret;
 #else
+       RTE_SET_USED(msr);
+       RTE_SET_USED(val);
+
        return -1;
 #endif
 }