From c4bb04dee78eba7a42b5670248049b6d5ed09cfe Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 14 Oct 2016 18:01:16 +1100 Subject: [PATCH] build: add posix forward decl --- Makefile.am | 1 + posix/fwd.hpp | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 posix/fwd.hpp diff --git a/Makefile.am b/Makefile.am index 52b30061..a9157056 100644 --- a/Makefile.am +++ b/Makefile.am @@ -287,6 +287,7 @@ POSIX_FILES = \ io_posix.ipp \ library_posix.hpp \ library_posix.cpp \ + posix/fwd.hpp \ posix/dir.cpp \ posix/dir.hpp \ posix/dir.ipp \ diff --git a/posix/fwd.hpp b/posix/fwd.hpp new file mode 100644 index 00000000..6e9bbb42 --- /dev/null +++ b/posix/fwd.hpp @@ -0,0 +1,26 @@ +/* + * 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 2016 Danny Robson + */ + +#ifndef __CRUFT_UTIL_POSIX_FWD_HPP +#define __CRUFT_UTIL_POSIX_FWD_HPP + +namespace util::posix { + class fd; + class dir; + class map; +} + +#endif