unifdef/unifdef-strlcpy.patch

13 lines
467 B
Diff
Raw Normal View History

diff -up unifdef-1.334/unifdef.c.strlcpy unifdef-1.334/unifdef.c
--- unifdef-1.334/unifdef.c.strlcpy 2010-01-19 16:48:31.000000000 -0800
+++ unifdef-1.334/unifdef.c 2010-02-11 16:56:08.000000000 -0800
@@ -56,6 +56,8 @@
#include <string.h>
#include <unistd.h>
+#include <bsd/string.h>
+
const char * const copyright[] = {
"@(#) Copyright (c) 2002 - 2010 Tony Finch (dot@dotat.at)\n",
"@(#) Latest version available from http://dotat.at/prog/unifdef\n",