summaryrefslogtreecommitdiff
path: root/LibC/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'LibC/errno.h')
-rw-r--r--LibC/errno.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/LibC/errno.h b/LibC/errno.h
index c28cb71f24..235a9b383f 100644
--- a/LibC/errno.h
+++ b/LibC/errno.h
@@ -1,5 +1,6 @@
#pragma once
+#include <sys/cdefs.h>
#include <Kernel/errno.h>
#define __RETURN_WITH_ERRNO(rc, good_ret, bad_ret) \
@@ -13,9 +14,9 @@
} \
} while(0)
-extern "C" {
+__BEGIN_DECLS
extern int errno;
-};
+__END_DECLS