Merge pull request #638 from stilor/macos-linux-2.6.32

Fix unifdef in Linux 2.6.32 on macos
This commit is contained in:
Alexey Neyman 2017-03-09 07:43:26 -08:00 committed by GitHub
commit 102d25caeb

View File

@ -0,0 +1,11 @@
--- linux-2.6.32.27/scripts/unifdef.c.orig 2017-03-08 21:42:27.000000000 -0800
+++ linux-2.6.32.27/scripts/unifdef.c 2017-03-08 21:42:44.000000000 -0800
@@ -72,8 +72,6 @@
#include <string.h>
#include <unistd.h>
-size_t strlcpy(char *dst, const char *src, size_t siz);
-
/* types of input lines: */
typedef enum {
LT_TRUEI, /* a true #if with ignore flag */