From 911b83fe05d682c541e38fecd55fdad0755be2ca Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Mon, 10 May 2021 09:37:27 -0400 Subject: patch_cmds: diffstat without autotools --- patch_cmds/diffstat/Makefile | 5 +++++ patch_cmds/diffstat/diffstat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 patch_cmds/diffstat/Makefile (limited to 'patch_cmds/diffstat') diff --git a/patch_cmds/diffstat/Makefile b/patch_cmds/diffstat/Makefile new file mode 100644 index 0000000..ae9c6ca --- /dev/null +++ b/patch_cmds/diffstat/Makefile @@ -0,0 +1,5 @@ +PROG= diffstat + +CFLAGS+=-DHAVE_CONFIG_H + +.include diff --git a/patch_cmds/diffstat/diffstat.c b/patch_cmds/diffstat/diffstat.c index 7027ba3..c09f585 100644 --- a/patch_cmds/diffstat/diffstat.c +++ b/patch_cmds/diffstat/diffstat.c @@ -171,7 +171,7 @@ static const char *Id = "$Id: diffstat.c,v 1.55 2012/01/03 09:44:24 tom Exp $"; */ #if defined(HAVE_CONFIG_H) -#include +#include "config.h" #endif #if defined(WIN32) && !defined(HAVE_CONFIG_H) -- cgit v1.2.3