#include <cstring>
#include <limits.h>
-#include <pbd/mountpoint.h>
+#include "pbd/mountpoint.h"
using std::string;
-#ifdef HAVE_WAFCONFIG_H
-#include "wafconfig.h"
+#ifdef WAF_BUILD
+#include "libpbd-config.h"
#endif
-#if HAVE_GETMNTENT
+#ifdef HAVE_GETMNTENT
#include <mntent.h>
struct mntent_sorter {