Skip to content

Commit

Permalink
IOSS: Fix iwyu mac-specific includes
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Oct 31, 2023
1 parent 69aa877 commit 4e86ef1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/seacas/libraries/ioss/src/Ioss_MemoryUtils.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@
// See packages/seacas/LICENSE for details

#include <Ioss_MemoryUtils.h>
#include <mach/arm/kern_return.h>
#include <mach/kern_return.h>
#include <mach/mach_init.h>
#include <mach/message.h>
#include <mach/task.h>
#include <mach/task_info.h>

// For memory utilities...
#if defined(__IOSS_WINDOWS__)
#include <windows.h>
#elif defined(__unix__) || defined(__unix) || defined(unix) || \
(defined(__APPLE__) && defined(__MACH__))
#include <sys/resource.h>
#include <unistd.h>

#if defined(__APPLE__) && defined(__MACH__)
#include <mach/arm/kern_return.h>
#include <mach/kern_return.h>
#include <mach/mach_init.h>
#include <mach/message.h>
#include <mach/task.h>
#include <mach/task_info.h>

#elif (defined(_AIX) || defined(__TOS__AIX__)) || \
(defined(__sun__) || defined(__sun) || defined(sun) && (defined(__SVR4) || defined(__svr4__)))
Expand Down

0 comments on commit 4e86ef1

Please sign in to comment.