aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Unix/Unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Unix/Unix.h')
-rw-r--r--lib/Support/Unix/Unix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/Unix/Unix.h b/lib/Support/Unix/Unix.h
index dd11c04..ba688e3 100644
--- a/lib/Support/Unix/Unix.h
+++ b/lib/Support/Unix/Unix.h
@@ -47,6 +47,10 @@
# include <sys/wait.h>
#endif
+#ifdef HAVE_DLFCN_H
+# include <dlfcn.h>
+#endif
+
#ifndef WEXITSTATUS
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif