Also clean up a Makefile to use $(SBINDIR).
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
include $(XEN_ROOT)/tools/Rules.mk
IBIN = tap-ctl
-INST_DIR = /usr/sbin
CFLAGS += -Werror
CFLAGS += -Wno-unused
ar r $@ $^
install: all
- $(INSTALL_DIR) -p $(DESTDIR)$(INST_DIR)
- $(INSTALL_PROG) $(IBIN) $(DESTDIR)$(INST_DIR)
+ $(INSTALL_DIR) -p $(DESTDIR)$(SBINDIR)
+ $(INSTALL_PROG) $(IBIN) $(DESTDIR)$(SBINDIR)
clean:
rm -f $(OBJS) $(DEPS) $(IBIN) $(LIBS)
#define __BLKTAPLIB_H__
#include <syslog.h>
+#include <sys/time.h>
#include <xenctrl.h>
#include <xen/io/blkif.h>