Fix bug 20125 - clang-format segfaults on bad config.
[oota-llvm.git] / lib / Support / Unix / Unix.h
index dd11c04b32bd32c047b6f3b32c38f99df8bd3ca5..ba688e382175d9c8fc5711c55d212ee09215e10e 100644 (file)
 # include <sys/wait.h>
 #endif
 
+#ifdef HAVE_DLFCN_H
+# include <dlfcn.h>
+#endif
+
 #ifndef WEXITSTATUS
 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
 #endif