From ad0d01d2dfbe2f323a5c31ed0aa118ad1d4c3c90 Mon Sep 17 00:00:00 2001
From: Tim Wickberg <tim@schedmd.com>
Date: Wed, 10 Feb 2016 11:16:36 -0500
Subject: [PATCH] callerid.h needs <sys/types.h> for ino_t

Had already fixed this in FreeBSD build, so move that outside the #ifdef
---
 src/common/callerid.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/callerid.h b/src/common/callerid.h
index 84b550f8598..86e707c883f 100644
--- a/src/common/callerid.h
+++ b/src/common/callerid.h
@@ -38,9 +38,9 @@
 #define _SLURM_CALLERID_H
 
 #include <arpa/inet.h>
+#include <sys/types.h>
 
 #ifdef __FreeBSD__
-#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #endif
-- 
GitLab