From 19e6f3d015c852219c6196a0003580df1f471215 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sun, 3 Apr 2016 23:03:32 +0200 Subject: [PATCH] include ../CIncludes/PEFBinaryFormat explicitly instead of adding CIncludes to path --- PEFTools/CMakeLists.txt | 1 - PEFTools/PEF.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/PEFTools/CMakeLists.txt b/PEFTools/CMakeLists.txt index 5eb7ce43c7..475dbbf6e9 100644 --- a/PEFTools/CMakeLists.txt +++ b/PEFTools/CMakeLists.txt @@ -2,7 +2,6 @@ set(CMAKE_CXX_FLAGS "--std=c++11 -Wall -Werror=return-type -Wno-multichar") find_package(Boost COMPONENTS filesystem system REQUIRED) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../CIncludes) add_executable(MakePEF MakePEF.cc rs6000.h PEF.h) add_executable(MakeImport MakeImport.cc PEF.h) diff --git a/PEFTools/PEF.h b/PEFTools/PEF.h index 9708e15408..f37917ba33 100644 --- a/PEFTools/PEF.h +++ b/PEFTools/PEF.h @@ -40,7 +40,7 @@ typedef void *LogicalAddress; typedef struct {} FSSpec, *FSSpecPtr; /* Definitions for PEF, from Apple's Universal Interfaces */ -#include +#include "../CIncludes/PEFBinaryFormat.h" /* Deal with differences between versions of PEFBinaryFormat.h */ #ifndef PEFRelocComposeSetPosition_1st