summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-05-01 10:38:58 +0200
committerStef Walter <stefw@gnome.org>2012-05-01 10:38:58 +0200
commitfed549ee2049a318081cfce3fde01ae625263d98 (patch)
treecc23dd39240091aeee0b45b17064abfd31e0a1ae /tools
parenta3bcb9037ddf6657f79f0aae42aa83dd2b8f6b14 (diff)
Provide compat getprogname() implementations on other OS's
* And use them in our replacement err() and p11_kit_set_progname()
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am1
-rw-r--r--tools/p11-kit.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index cec6bfc..bfa1953 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,6 +1,7 @@
INCLUDES = \
-I$(top_srcdir) \
+ -I$(top_srcdir)/common \
-I$(top_srcdir)/p11-kit \
-DSRCDIR=\"$(srcdir)\"
diff --git a/tools/p11-kit.c b/tools/p11-kit.c
index d4b0759..d154fe6 100644
--- a/tools/p11-kit.c
+++ b/tools/p11-kit.c
@@ -34,7 +34,7 @@
#include "config.h"
-#include "common/compat.h"
+#include "compat.h"
#include <assert.h>
#include <ctype.h>