Skip to content

Commit

Permalink
treematch: do not include <hwloc.h>
Browse files Browse the repository at this point in the history
Instead, include "opal/mca/hwloc/hwloc.h"

Signed-off-by: Jeff Squyres <[email protected]>
  • Loading branch information
jsquyres authored and Thananon Patinyasakdikul committed Mar 31, 2017
1 parent b56488e commit 84f9ed9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions ompi/mca/topo/treematch/treematch/tm_hwloc.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <hwloc.h>
#include <hwloc/helper.h>
#include "opal/mca/hwloc/hwloc.h"
#include "tm_tree.h"
#include "tm_mapping.h"
#include <ctype.h>
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/topo/treematch/treematch/tm_hwloc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <hwloc.h>
#include "opal/mca/hwloc/hwloc.h"
#include "tm_tree.h"

void hwloc_topology_tag(hwloc_topology_t topology);
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/topo/treematch/treematch/tm_thread_pool.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <pthread.h>
#include "tm_thread_pool.h"
#include "tm_verbose.h"
#include <hwloc.h>
#include "opal/mca/hwloc/hwloc.h"
#include "tm_verbose.h"
#include "tm_tree.h"
#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/topo/treematch/treematch/tm_thread_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define THREAD_POOL_H

#include <pthread.h>
#include <hwloc.h>
#include "opal/mca/hwloc/hwloc.h"


typedef struct _work_t{
Expand Down

0 comments on commit 84f9ed9

Please sign in to comment.