aboutsummaryrefslogtreecommitdiffstats
path: root/patch_cmds/diffstat
diff options
context:
space:
mode:
Diffstat (limited to 'patch_cmds/diffstat')
-rw-r--r--patch_cmds/diffstat/Makefile5
-rw-r--r--patch_cmds/diffstat/diffstat.c2
2 files changed, 6 insertions, 1 deletions
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 <bsd.prog.mk>
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 <config.h>
+#include "config.h"
#endif
#if defined(WIN32) && !defined(HAVE_CONFIG_H)