1. Some files use stat, mkfifo, mkdir etc. without including
sys/stat.h
2. Some programs link against libpthread without a -lpthread compile
option. The compile used to work if this library happened to be used
by one of the other libraries that was being linked against, but
Fedora 13 has stopped allowing this.
From: M A Young <m.a.young@durham.ac.uk>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset: 21036:
c1f272c3a441
xen-unstable date: Mon Mar 15 17:08:29 2010 +0000
#include <xs.h>
#include <sys/time.h>
#include <syslog.h>
+#include <sys/stat.h>
#include "blktaplib.h"
#include "blktapctrl.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
#include "tapdisk.h"
#include "tapaio.h"
LIBS := -L. -L.. -L../lib
LIBS += $(LDFLAGS_libxenctrl)
LIBS += $(LDFLAGS_libxenstore)
-LIBS += -lrt
+LIBS += -lrt -lpthread
OBJS := fs-xenbus.o fs-ops.o