aboutsummaryrefslogtreecommitdiffstats
path: root/include/err.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-29 23:01:31 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-29 23:01:31 +0200
commit841f17b59aac1c6d273f7e053243e6aaf29dc3c4 (patch)
tree8189aa40f8b26d7a22529937235cd6b95615e90c /include/err.h
parentadd err.h + add _SLIBC_SUPPRESS_WARNINGS (diff)
downloadslibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.gz
slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.bz2
slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.xz
add _PORTABLE_SOURCE
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/err.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/err.h b/include/err.h
index 9eb01f3..2599feb 100644
--- a/include/err.h
+++ b/include/err.h
@@ -17,6 +17,7 @@
*/
#ifndef _ERR_H
#define _ERR_H
+#fifndef _PORTABLE_SOURCE
#include <slibc/version.h>
#ifndef _SLIBC_SUPPRESS_WARNINGS
@@ -116,4 +117,5 @@ void verrx(int status, const char* format, va_list args)
#endif
+#endif