aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/Makefile2
-rw-r--r--src/librc/librc.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/librc/Makefile b/src/librc/Makefile
index e510b1f4..741545e1 100644
--- a/src/librc/Makefile
+++ b/src/librc/Makefile
@@ -11,6 +11,8 @@ VERSION_MAP= rc.map
CFLAGS+= -DLIB=\"${LIBNAME}\"
LDADD+= ${LIBKVM}
+CFLAGS+= -I$(TOPDIR)
+
SHLIBDIR= /${LIBNAME}
include $(TOPDIR)/cc.mk
diff --git a/src/librc/librc.h b/src/librc/librc.h
index 491462b8..d70ffa17 100644
--- a/src/librc/librc.h
+++ b/src/librc/librc.h
@@ -65,10 +65,10 @@
#include "librc-depend.h"
#include "rc.h"
-#include "../rc-misc.h"
-#include "../strlist.h"
+#include "rc-misc.h"
+#include "strlist.h"
-#include "../hidden-visibility.h"
+#include "hidden-visibility.h"
#define librc_hidden_proto(x) hidden_proto(x)
#define librc_hidden_def(x) hidden_def(x)