From 9c7a8637edeafb8abe66c2767837dfeb5f058537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 5 Oct 2014 16:37:12 +0200 Subject: [PATCH] Fix FTBFS because undefined __progname in tdeio_connection --- tdeio/tdeio/connection.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tdeio/tdeio/connection.cpp b/tdeio/tdeio/connection.cpp index 119ab6a10..50427aecf 100644 --- a/tdeio/tdeio/connection.cpp +++ b/tdeio/tdeio/connection.cpp @@ -43,7 +43,11 @@ #include #include +#if defined(__OpenBSD__) +#define __progname getprogname() +#else extern char *__progname; +#endif using namespace TDEIO;