runtime: repair windows build

The header `dlfcn.h` does not exist for windows targets, guard the including.
Correct the structure initializers which had the members inverted.  Finally,
include the required `vector` header.
This commit is contained in:
Saleem Abdulrasool
2016-11-27 17:05:19 -08:00
parent 32000742df
commit 44fbfd6e93
2 changed files with 5 additions and 2 deletions

View File

@@ -21,7 +21,9 @@
#include "swift/Runtime/Mutex.h"
#include "ImageInspection.h"
#include "Private.h"
#if !defined(_WIN32)
#include <dlfcn.h>
#endif
using namespace swift;