Include string.h for strdup().

This commit is contained in:
bentley 2018-10-28 09:02:40 +00:00
parent 9ab3b32465
commit 0e24fa6cd9
2 changed files with 15 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.13 2018/10/24 14:27:59 sthen Exp $
# $OpenBSD: Makefile,v 1.14 2018/10/28 09:02:40 bentley Exp $
COMMENT = universal parsing tool & source code generator
V = 4.5.4
PKGNAME = codeworker-${V}
REVISION = 4
REVISION = 5
CATEGORIES = devel

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-DtaScriptVariable_h,v 1.1 2018/10/28 09:02:40 bentley Exp $
Index: DtaScriptVariable.h
--- DtaScriptVariable.h.orig
+++ DtaScriptVariable.h
@@ -32,6 +32,7 @@ To contact the author: codeworker@free.fr
# endif
#endif
+#include <cstring>
#include <string>
#include <list>
#include <vector>