aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/x86/include/_stdint.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/x86/include/_stdint.h b/sys/x86/include/_stdint.h
index d9ee3166236b..c3505346cfe5 100644
--- a/sys/x86/include/_stdint.h
+++ b/sys/x86/include/_stdint.h
@@ -40,6 +40,8 @@
#ifndef _MACHINE__STDINT_H_
#define _MACHINE__STDINT_H_
+#include <machine/_limits.h>
+
#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS)
#define INT8_C(c) (c)
@@ -167,8 +169,8 @@
#define PTRDIFF_MAX INT64_MAX
/* Limits of sig_atomic_t. */
-#define SIG_ATOMIC_MIN LONG_MIN
-#define SIG_ATOMIC_MAX LONG_MAX
+#define SIG_ATOMIC_MIN __LONG_MIN
+#define SIG_ATOMIC_MAX __LONG_MAX
/* Limit of size_t. */
#define SIZE_MAX UINT64_MAX