aports/testing/entr/remove-strlcpy-compat.h.patch
Stuart Cardall ede1fe4919 testing/entr: new aport
Event Notify Test Runner: Run arbitrary commands when files change
http://entrproject.org
41k binary
2015-05-05 01:01:00 +02:00

15 lines
367 B
Diff

--- 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);