projects
/
project
/
librpc-uclibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix __set_errno
[project/librpc-uclibc.git]
/
compat.h
diff --git
a/compat.h
b/compat.h
index c1c74d57412331071a3a514ac37499c4214a3d13..6acf5ee33c3a223931092f872e7cbcbc25092698 100644
(file)
--- a/
compat.h
+++ b/
compat.h
@@
-5,6
+5,7
@@
#define _GNU_SOURCE
#include <features.h>
+#include <errno.h>
#undef __UCLIBC_HAS_THREADS__
#include <bits/uClibc_mutex.h>
@@
-26,4
+27,6
@@
#define attribute_noreturn
#define libc_hidden_def(...)
+#define __set_errno(_val) errno = _val
+
#endif