include ../CIncludes/PEFBinaryFormat explicitly instead of adding CIncludes to path

This commit is contained in:
Wolfgang Thaller 2016-04-03 23:03:32 +02:00
parent 258488e2a5
commit 19e6f3d015
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -40,7 +40,7 @@ typedef void *LogicalAddress;
typedef struct {} FSSpec, *FSSpecPtr;
/* Definitions for PEF, from Apple's Universal Interfaces */
#include <PEFBinaryFormat.h>
#include "../CIncludes/PEFBinaryFormat.h"
/* Deal with differences between versions of PEFBinaryFormat.h */
#ifndef PEFRelocComposeSetPosition_1st