build: fix missing windows includes
This commit is contained in:
parent
d24c979c6b
commit
31e9270e6b
@ -1,10 +1,32 @@
|
|||||||
|
/*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
* Copyright 2010-2016 Danny Robson <danny@nerdcruft.net>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "./exe.hpp"
|
||||||
|
|
||||||
#include "except.hpp"
|
#include "except.hpp"
|
||||||
|
|
||||||
|
#include <experimental/filesystem>
|
||||||
|
#include <vector>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
std::experimental::filesystem::path
|
std::experimental::filesystem::path
|
||||||
util::image_path (void) {
|
util::image_path (void)
|
||||||
|
{
|
||||||
std::vector<char> resolved (256);
|
std::vector<char> resolved (256);
|
||||||
|
|
||||||
retry:
|
retry:
|
||||||
|
2
io.hpp
2
io.hpp
@ -23,6 +23,8 @@
|
|||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <experimental/filesystem>
|
#include <experimental/filesystem>
|
||||||
|
#include <vector>
|
||||||
|
#include <streambuf>
|
||||||
|
|
||||||
#ifdef PLATFORM_WIN32
|
#ifdef PLATFORM_WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user