aboutsummaryrefslogtreecommitdiff
path: root/compat/getprogname.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-22 17:00:56 +0000
committerOmar Polo <op@omarpolo.com>2021-01-22 17:00:56 +0000
commit7e262563948fcaeea143e6c7c23b6a300010eec5 (patch)
tree32d92af278b34baa1f2043ae71b7d07131edad27 /compat/getprogname.c
parent3527b7a58a5f228a73f73ba74bc4ff86f7305a60 (diff)
fixing compat compilation
include headers if needed and include config.h
Diffstat (limited to 'compat/getprogname.c')
-rw-r--r--compat/getprogname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/getprogname.c b/compat/getprogname.c
index f162268..ee178b7 100644
--- a/compat/getprogname.c
+++ b/compat/getprogname.c
@@ -14,6 +14,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "../config.h"
+
const char *
getprogname(void)
{