aboutsummaryrefslogtreecommitdiff
path: root/src/libeinfo
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-07 14:20:13 +0000
committerRoy Marples <roy@marples.name>2008-01-07 14:20:13 +0000
commitd22fc0dd931e43be5f20526e8e43a303d054ca21 (patch)
tree8c47e8d9a54cfbd42a7ad58f2d01a0a2807e4577 /src/libeinfo
parentc25651057038c6ef4f8cbd6819aa0b5ed892087a (diff)
Allow depend creation again. This doesn't work on GNU make, but does on all others.
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)