diff --git a/src/x86/Lresume.c b/src/x86/Lresume.c
index e69de29b..41a8cf00 100644
--- a/src/x86/Lresume.c
+++ b/src/x86/Lresume.c
@@ -0,0 +1,5 @@
+#define UNW_LOCAL_ONLY
+#include <libunwind.h>
+#if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY)
+#include "Gresume.c"
+#endif