From a36ab9e796ebeab35a0957e476777220f1d7dcd6 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Tue, 19 Nov 2019 18:31:36 -0700 Subject: [PATCH] dtdbcache: make it build --- cde/configure.ac | 2 ++ cde/programs/dtdbcache/Main.c | 2 ++ cde/programs/dtdbcache/Makefile.am | 6 +----- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cde/configure.ac b/cde/configure.ac index 65a02cd32..6ef65dc5b 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -396,6 +396,8 @@ programs/dtstyle/Makefile programs/dtexec/Makefile +programs/dtdbcache/Makefile + ]) AC_OUTPUT diff --git a/cde/programs/dtdbcache/Main.c b/cde/programs/dtdbcache/Main.c index 96403000a..3f4e9f498 100644 --- a/cde/programs/dtdbcache/Main.c +++ b/cde/programs/dtdbcache/Main.c @@ -30,7 +30,9 @@ cc -g -o Main Main.c -I/usr/dt/include -I/usr/openwin/include -R/export2/build/S #include #include #include +#include
#include
+#include
#include
#include
diff --git a/cde/programs/dtdbcache/Makefile.am b/cde/programs/dtdbcache/Makefile.am index 888dbd73c..9ab1be7db 100644 --- a/cde/programs/dtdbcache/Makefile.am +++ b/cde/programs/dtdbcache/Makefile.am @@ -2,11 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in bin_PROGRAMS = dtdbcache -dtdbcache_LDADD = -lm $(LIBSVC) $(LIBTT) $(XTOOLLIB) ${X_LIBS} - -if HPUX -dtdbcache_LDADD += +e -endif +dtdbcache_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB) if SOLARIS dtdbcache_LDADD += -ldl -lw -lgen