aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-11-09 18:41:43 +0100
committerSverker Eriksson <[email protected]>2016-11-17 17:18:10 +0100
commit27e865d01ad49664897662ccc123d825505c0ff6 (patch)
tree8e2d2a54e64ea47e86f24fc96dc599b83702df6e /erts/emulator/beam/erl_process.h
parente770c849d011d8d5872e5f1400d77c25a9268186 (diff)
downloadotp-27e865d01ad49664897662ccc123d825505c0ff6.tar.gz
otp-27e865d01ad49664897662ccc123d825505c0ff6.tar.bz2
otp-27e865d01ad49664897662ccc123d825505c0ff6.zip
erts: Fix all -Wundef errors
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r--erts/emulator/beam/erl_process.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index b266d32e76..72344be504 100644
--- a/erts/emulator/beam/erl_process.h
+++ b/erts/emulator/beam/erl_process.h
@@ -21,6 +21,8 @@
#ifndef __PROCESS_H__
#define __PROCESS_H__
+#include "sys.h"
+
#undef ERTS_INCLUDE_SCHEDULER_INTERNALS
#if (defined(ERL_PROCESS_C__) \
|| defined(ERL_PORT_TASK_C__) \
@@ -37,8 +39,6 @@
typedef struct process Process;
-#include "sys.h"
-
#define ERTS_PROCESS_LOCK_ONLY_PROC_LOCK_TYPE__
#include "erl_process_lock.h" /* Only pull out important types... */
#undef ERTS_PROCESS_LOCK_ONLY_PROC_LOCK_TYPE__