summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-30 02:00:15 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-30 02:00:15 +0000
commit668f51ff6aaafce27d2b68fbb9c26c913761887b (patch)
tree50762509119de1ed8d5ec641609d13f64e1a374f /libc
parent1c91f4a8fe798908b55742e7d55b65db7ac055ee (diff)
use errno.h not sys/errno.h as pointed out by sjhill
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/rpc/clnt_generic.c1
-rw-r--r--libc/sysdeps/linux/e1/vfork.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/libc/inet/rpc/clnt_generic.c b/libc/inet/rpc/clnt_generic.c
index fee12fd7d..cfd357f63 100644
--- a/libc/inet/rpc/clnt_generic.c
+++ b/libc/inet/rpc/clnt_generic.c
@@ -44,7 +44,6 @@
#include <string.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
-#include <sys/errno.h>
#include <netdb.h>
#undef get_rpc_createerr
diff --git a/libc/sysdeps/linux/e1/vfork.c b/libc/sysdeps/linux/e1/vfork.c
index f7dfb10ba..ec9961d62 100644
--- a/libc/sysdeps/linux/e1/vfork.c
+++ b/libc/sysdeps/linux/e1/vfork.c
@@ -1,5 +1,5 @@
#include <sys/types.h>
#include <sys/syscall.h>
-#include <sys/errno.h>
+#include <errno.h>
_syscall0(pid_t, vfork);