--- src/support/AppleScriptProxy.cpp.orig	2019-04-20 11:01:31.000000000 -0700
+++ src/support/AppleScriptProxy.cpp	2019-04-20 11:09:34.000000000 -0700
@@ -23,6 +23,7 @@
 #include "support/debug.h"
 
 #include <stdlib.h>
+#include <string.h>
 
 using namespace std;
 using namespace lyx;
