From 3ff4d34fb0bdaebcc34a06bba417eb0348e8894c Mon Sep 17 00:00:00 2001
From: Toni Uhlig <matzeton@googlemail.com>
Date: Wed, 27 May 2020 20:55:18 +0200
Subject: define PACKAGE_STRING if HAVE_CONFIG_H undefined (useful if compiling
 w/o configure/make)

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
---
 src/ptunnel.c | 4 ++++
 1 file changed, 4 insertions(+)

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>
-- 
cgit v1.2.3