aboutsummaryrefslogtreecommitdiff
path: root/src/libeinfo
diff options
context:
space:
mode:
Diffstat (limited to 'src/libeinfo')
-rw-r--r--src/libeinfo/Makefile2
-rw-r--r--src/libeinfo/libeinfo.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libeinfo/Makefile b/src/libeinfo/Makefile
index 5cace0cc..de96f7f7 100644
--- a/src/libeinfo/Makefile
+++ b/src/libeinfo/Makefile
@@ -9,6 +9,8 @@ VERSION_MAP= einfo.map
SHLIBDIR= /${LIBNAME}
+CFLAGS+= -I$(TOPDIR)
+
include $(TOPDIR)/cc.mk
include $(TOPDIR)/lib.mk
include $(TOPDIR)/$(TERMCAP).mk
diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c
index 14f254eb..8dfe13f2 100644
--- a/src/libeinfo/libeinfo.c
+++ b/src/libeinfo/libeinfo.c
@@ -50,7 +50,7 @@ const char libeinfo_copyright[] = "Copyright (c) 2007-2008 Roy Marples";
#include <unistd.h>
#include "einfo.h"
-#include "../hidden-visibility.h"
+#include "hidden-visibility.h"
hidden_proto(ecolor)
hidden_proto(ebegin)
hidden_proto(ebeginv)