aboutsummaryrefslogtreecommitdiffstats
path: root/include/err.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-31 22:36:29 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-31 22:39:01 +0200
commitc72a4e5dd7aa33fc04c0c2fb4bf6564f179966aa (patch)
tree4feb0be62f8d486135e58130c7b541330b01f17f /include/err.h
parentm (diff)
downloadslibc-c72a4e5dd7aa33fc04c0c2fb4bf6564f179966aa.tar.gz
slibc-c72a4e5dd7aa33fc04c0c2fb4bf6564f179966aa.tar.bz2
slibc-c72a4e5dd7aa33fc04c0c2fb4bf6564f179966aa.tar.xz
add _LIBRARY_HEADER
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/err.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/err.h b/include/err.h
index 9c28533..6e9b828 100644
--- a/include/err.h
+++ b/include/err.h
@@ -17,15 +17,15 @@
*/
#ifndef _ERR_H
#define _ERR_H
-#ifndef _PORTABLE_SOURCE
#include <slibc/version.h>
+#include <slibc/features.h>
+#ifndef __PORTABLE
#ifndef _SLIBC_SUPPRESS_WARNINGS
# warning "Please consider not using <err.h>."
#endif
-#include <slibc/features.h>
#include <stdarg.h>