Skip to content

Commit

Permalink
Merge pull request #638 from stilor/macos-linux-2.6.32
Browse files Browse the repository at this point in the history
Fix unifdef in Linux 2.6.32 on macos
  • Loading branch information
stilor committed Mar 9, 2017
2 parents bfcc1e1 + 7603e24 commit 102d25c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions patches/linux/2.6.32.27/100-unifdef-strclpy.patch
@@ -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 */

0 comments on commit 102d25c

Please sign in to comment.