summaryrefslogtreecommitdiff
path: root/bindings/ocaml/executionengine
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/ocaml/executionengine')
-rw-r--r--bindings/ocaml/executionengine/Makefile20
-rw-r--r--bindings/ocaml/executionengine/executionengine_ocaml.c1
2 files changed, 1 insertions, 20 deletions
diff --git a/bindings/ocaml/executionengine/Makefile b/bindings/ocaml/executionengine/Makefile
deleted file mode 100644
index 8b5d28faa8b9b..0000000000000
--- a/bindings/ocaml/executionengine/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-##===- bindings/ocaml/executionengine/Makefile -------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-#
-# This is the makefile for the Objective Caml Llvm_executionengine interface.
-#
-##===----------------------------------------------------------------------===##
-
-LEVEL := ../../..
-LIBRARYNAME := llvm_executionengine
-UsedComponents := executionengine mcjit native
-UsedOcamlInterfaces := llvm llvm_target
-FindlibPackages := ctypes
-
-include ../Makefile.ocaml
diff --git a/bindings/ocaml/executionengine/executionengine_ocaml.c b/bindings/ocaml/executionengine/executionengine_ocaml.c
index b7992508bf942..a5e62aca8a4e1 100644
--- a/bindings/ocaml/executionengine/executionengine_ocaml.c
+++ b/bindings/ocaml/executionengine/executionengine_ocaml.c
@@ -17,6 +17,7 @@
#include <string.h>
#include <assert.h>
+#include "llvm-c/Core.h"
#include "llvm-c/ExecutionEngine.h"
#include "llvm-c/Target.h"
#include "caml/alloc.h"