diff options
Diffstat (limited to 'testing/entr/remove-strlcpy-compat.h.patch')
-rw-r--r-- | testing/entr/remove-strlcpy-compat.h.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/entr/remove-strlcpy-compat.h.patch b/testing/entr/remove-strlcpy-compat.h.patch new file mode 100644 index 0000000000..ae2d271a1b --- /dev/null +++ b/testing/entr/remove-strlcpy-compat.h.patch @@ -0,0 +1,14 @@ +--- eradman-entr-c20e34ec153a/missing/compat.h ++++ eradman-entr-c20e34ec153a/missing/compat.h.new +@@ -4,11 +4,6 @@ + #define NOTE_TRUNCATE 0 + #endif + +-#if defined(_LINUX_PORT) +-#include <sys/types.h> +-size_t strlcpy(char *to, const char *from, int l); +-#endif +- + #if defined(_MACOS_PORT) + #include <stdio.h> + FILE *fmemopen(void *buf, size_t size, const char *mode); |