[lldb/debugserver] Include TargetConditionals.h where needed

MachProcess.mm uses a TARGET_OS_ macro without directly including
TargetConditionals.h. This currently works as we get the header
as an indirect dependency, but might not in the future.

I just spent some time investigating an internal regression
caused by a similar issue, so I audited the codebase for such
cases.
This commit is contained in:
Fred Riss 2020-05-09 10:11:28 -07:00
parent c746781f50
commit c9537b9cc8

View File

@ -34,6 +34,7 @@
#include <chrono>
#include <map>
#include <TargetConditionals.h>
#import <Foundation/Foundation.h>
#include "DNBDataRef.h"