<errno.h>: Generally include <sys/cdefs.h>.
authorSascha Wildner <saw@online.de>
Wed, 28 Dec 2016 14:46:06 +0000 (15:46 +0100)
committerSascha Wildner <saw@online.de>
Wed, 28 Dec 2016 14:46:06 +0000 (15:46 +0100)
I forgot this change in 329111df7bb1e6c835b3e1835b384ecf2dd3aaf7.

sys/sys/errno.h

index 38a83b4..090539c 100644 (file)
@@ -38,8 +38,9 @@
 #ifndef _SYS_ERRNO_H_
 #define        _SYS_ERRNO_H_
 
-#if !defined(_KERNEL) || defined(_KERNEL_VIRTUAL)
 #include <sys/cdefs.h>
+
+#if !defined(_KERNEL) || defined(_KERNEL_VIRTUAL)
 __BEGIN_DECLS
 extern __thread int    errno;
 __END_DECLS