Skip to content
Snippets Groups Projects
Commit 9afe5ace authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix filesystem includes

parent c55bdd21
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !41. Comments created here will be created in the context of that merge request.
......@@ -10,7 +10,12 @@
#include <sys/types.h>
#include <unistd.h>
#if __has_include(<filesystem>)
#include <filesystem>
#else
#include <experimental/filesystem>
#endif
#include <utility>
#include "../config.hpp"
......
......@@ -5,7 +5,13 @@
#define TAO_PEGTL_INTERNAL_FILE_READER_HPP
#include <cstdio>
#if __has_include(<filesystem>)
#include <filesystem>
#else
#include <experimental/filesystem>
#endif
#include <memory>
#include <string>
#include <utility>
......
......@@ -4,7 +4,13 @@
#ifndef TAO_PEGTL_INTERNAL_PATH_TO_STRING_HPP
#define TAO_PEGTL_INTERNAL_PATH_TO_STRING_HPP
#if __has_include(<filesystem>)
#include <filesystem>
#else
#include <experimental/filesystem>
#endif
#include <string>
#include "../config.hpp"
......
......@@ -4,7 +4,12 @@
#ifndef TAO_PEGTL_MMAP_INPUT_HPP
#define TAO_PEGTL_MMAP_INPUT_HPP
#if __has_include(<filesystem>)
#include <filesystem>
#else
#include <experimental/filesystem>
#endif
#include <string>
#include "config.hpp"
......
......@@ -4,7 +4,12 @@
#ifndef TAO_PEGTL_READ_INPUT_HPP
#define TAO_PEGTL_READ_INPUT_HPP
#if __has_include(<filesystem>)
#include <filesystem>
#else
#include <experimental/filesystem>
#endif
#include <string>
#include "config.hpp"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment