Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
#include <sys/vfs.h>
#endif
+#ifdef HAVE_SYS_MOUNT_H
+#include <sys/mount.h>
+#endif
+
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
#include "messages/MMonHealth.h"
#include "include/types.h"
#include "include/Context.h"
* Foundation. See file COPYING.
*
*/
+#include "acconfig.h"
+
+#ifdef HAVE_SYS_MOUNT_H
+#include <sys/mount.h>
+#endif
+
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#include "include/types.h"
#include "include/stringify.h"
* Foundation. See file COPYING.
*
*/
+#include "acconfig.h"
#include <fstream>
#include <iostream>
#include <ctype.h>
#include <boost/scoped_ptr.hpp>
-#if defined(DARWIN) || defined(__FreeBSD__)
+#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
+#endif
+
+#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
-#endif // DARWIN || __FreeBSD__
+#endif
#include "osd/PG.h"