diff --git a/include/oneapi/dpl/pstl/zip_view_impl.h b/include/oneapi/dpl/pstl/zip_view_impl.h index ae1345b434..f975e9a255 100644 --- a/include/oneapi/dpl/pstl/zip_view_impl.h +++ b/include/oneapi/dpl/pstl/zip_view_impl.h @@ -1,8 +1,25 @@ -#include +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Copyright (C) Intel Corporation +// +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +// This file incorporates work covered by the following copyright and permission +// notice: +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// +//===----------------------------------------------------------------------===// + +#ifndef _ONEDPL_ZIP_VIEW_IMPL_H +#define _ONEDPL_ZIP_VIEW_IMPL_H + +#if _ONEDPL_CPP20_RANGES_PRESENT + #include -#include #include -#include #include namespace oneapi @@ -361,4 +378,8 @@ inline constexpr zip_fn zip{}; } // namespace ranges } // namespace dpl -} // namespace oneapi \ No newline at end of file +} // namespace oneapi + +#endif //_ONEDPL_CPP20_RANGES_PRESENT + +#endif //_ONEDPL_ZIP_VIEW_IMPL_H \ No newline at end of file