Skip to content

Commit b9d585d

Browse files
committed
Add #include <strings.h> for strcasecmp()
Needed, at least, on FreeBSD. Thanks to Pavan Balaji. This commit was SVN r5582.
1 parent 3012721 commit b9d585d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/traversal.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#include <private/private.h>
1212
#include <private/misc.h>
1313
#include <private/debug.h>
14+
#ifdef HAVE_STRINGS_H
15+
#include <strings.h>
16+
#endif /* HAVE_STRINGS_H */
1417

1518
int
1619
hwloc_get_type_depth (struct hwloc_topology *topology, hwloc_obj_type_t type)

0 commit comments

Comments
 (0)