Skip to content

Commit b928a6b

Browse files
committed
ras/slurm: fix compile error due to missing header
On some systems this component fails to build due to the missing netdb.h header. Signed-off-by: Nathan Hjelm <[email protected]>
1 parent ead453e commit b928a6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

orte/mca/ras/slurm/ras_slurm_module.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
12
/*
23
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
34
* University Research and Technology
@@ -9,7 +10,7 @@
910
* University of Stuttgart. All rights reserved.
1011
* Copyright (c) 2004-2005 The Regents of the University of California.
1112
* All rights reserved.
12-
* Copyright (c) 2011-2012 Los Alamos National Security, LLC. All rights
13+
* Copyright (c) 2011-2017 Los Alamos National Security, LLC. All rights
1314
* reserved.
1415
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
1516
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
@@ -26,6 +27,7 @@
2627
#include "orte/constants.h"
2728
#include "orte/types.h"
2829

30+
#include <netdb.h>
2931
#include <unistd.h>
3032
#include <string.h>
3133
#include <ctype.h>

0 commit comments

Comments
 (0)