Browse Source

define PACKAGE_STRING if HAVE_CONFIG_H undefined (useful if compiling w/o configure/make)

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Toni Uhlig 2 years ago
parent
commit
3ff4d34fb0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/ptunnel.c

+ 4 - 0
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>