Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
-#ifndef UTIL_H_
-#define UTIL_H_
+#ifndef KVM__UTIL_H
+#define KVM__UTIL_H
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
__stringify(cnd) "\n"); \
} while (0)
-#endif /* UTIL_H_ */
+#endif /* KVM__UTIL_H */
#include "kvm/interrupt.h"
-#include "util.h"
+#include "kvm/util.h"
#include <string.h>
#include "kvm/kvm.h"
#include "kvm/interrupt.h"
+#include "kvm/util.h"
#include <linux/kvm.h>
#include <stdio.h>
#include <fcntl.h>
-#include "util.h"
-
/*
* Compatibility code. Remove this when we move to tools/kvm.
*/
#include "kvm/kvm.h"
-#include "util.h"
+#include "kvm/util.h"
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
+#include <string.h>
#include <stdio.h>
static void usage(char *argv[])
* Taken from perf which in turn take it from GIT
*/
-#include "util.h"
+#include "kvm/util.h"
static void report(const char *prefix, const char *err, va_list params)
{