#ifndef _OS_MISC_H_
#define _OS_MISC_H_
+#include <stdint.h>
+#include <stdbool.h>
#include "detect_os.h"
-#include "pipe/p_compiler.h"
#if DETECT_OS_UNIX
bool
os_get_total_physical_memory(uint64_t *size);
+/*
+ * Amount of physical memory available to a process
+ */
+bool
+os_get_available_system_memory(uint64_t *size);
+
#ifdef __cplusplus
}