summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2005-05-31 22:03:04 +0200
committerWerner Koch <wk@gnupg.org>2005-05-31 22:03:04 +0200
commit6e522257a9beb9e7b12888533c9274f1e198ff0d (patch)
tree7c70e9dc88e5898e121f5f76146b79c62ac3adf4 /tools
parent2005-05-28 Moritz Schulte <moritz@g10code.com> (diff)
downloadgnupg2-6e522257a9beb9e7b12888533c9274f1e198ff0d.tar.xz
gnupg2-6e522257a9beb9e7b12888533c9274f1e198ff0d.zip
* agent.h (out_of_core): s/__inline__/inine. Noted by Ray Link.
* dynload.h: s/__inline__/inline/. * tlv.c [GNUPG_MAJOR_VERSION==1]: Define constants instead of including a gnupg 1.4 header. * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines. Noted by Ray Link.
Diffstat (limited to 'tools')
-rw-r--r--tools/ChangeLog5
-rw-r--r--tools/watchgnupg.c12
2 files changed, 17 insertions, 0 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 085ba094f..103be28e5 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-31 Werner Koch <wk@g10code.com>
+
+ * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines.
+ Noted by Ray Link.
+
2005-05-28 Moritz Schulte <moritz@g10code.com>
* gpgkey2ssh.c: New file.
diff --git a/tools/watchgnupg.c b/tools/watchgnupg.c
index 50f9d7274..25ca8c413 100644
--- a/tools/watchgnupg.c
+++ b/tools/watchgnupg.c
@@ -45,6 +45,18 @@
#define BUGREPORT_LINE ""
#endif
+#ifndef PF_LOCAL
+# ifdef PF_UNIX
+# define PF_LOCAL PF_UNIX
+# else
+# define PF_LOCAL AF_UNIX
+# endif
+# ifndef AF_LOCAL
+# define AF_LOCAL AF_UNIX
+# endif
+#endif
+
+
static int verbose;