"acconfig.h" is needed for HAVE_SYS_PRCTL_H and <string.h> for memset.
Fixes: http://tracker.ceph.com/issues/24123
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit
e1682de4d3e30c2c4a884ee113ca517a2e627a33)
#include <iostream>
+#include "acconfig.h"
+
#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h>
#endif
+#include <string.h>
+
code_environment_t g_code_env = CODE_ENVIRONMENT_UTILITY;
extern "C" const char *code_environment_to_str(enum code_environment_t e)