libdislocator FreeBSD build fix. max_align_t had been define from the 12th release.
#include <mach/vm_statistics.h>
#endif
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#endif
+
#ifdef __linux__
#include <unistd.h>
#include <sys/syscall.h>
#include "config.h"
#include "types.h"
-#if __STDC_VERSION__ < 201112L || defined __FreeBSD__
+#if __STDC_VERSION__ < 201112L || (defined(__FreeBSD__) && __FreeBSD_version < 1200000)
// use this hack if not C11
typedef struct {
