aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-05-27 20:55:18 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-05-27 20:55:18 +0200
commit3ff4d34fb0bdaebcc34a06bba417eb0348e8894c (patch)
tree7f63a84249164d051bbf6ee2ba7da497eb878df6
parent011c923648a6998b483a3d5ee8f462fe7100b6a7 (diff)
define PACKAGE_STRING if HAVE_CONFIG_H undefined (useful if compiling w/o configure/make)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--src/ptunnel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ptunnel.c b/src/ptunnel.c
index f42ea98..ac6ff4f 100644
--- a/src/ptunnel.c
+++ b/src/ptunnel.c
@@ -53,6 +53,10 @@
#include <selinux/selinux.h>
#endif
+#ifndef PACKAGE_STRING
+#define PACKAGE_STRING "ptunnel-ng"
+#endif
+
#ifdef WIN32
#include <tchar.h>
#include <winsock2.h>