aboutsummaryrefslogtreecommitdiffstats
path: root/community/entr/remove-strlcpy-compat.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/entr/remove-strlcpy-compat.h.patch')
-rw-r--r--community/entr/remove-strlcpy-compat.h.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/entr/remove-strlcpy-compat.h.patch b/community/entr/remove-strlcpy-compat.h.patch
new file mode 100644
index 0000000000..ae2d271a1b
--- /dev/null
+++ b/community/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);