chiark / gitweb /
[PATCH] update klibc to version 0.181
[elogind.git] / klibc / klibc / socketcommon.h
index 7a5acaadaf4594c7fef6ac0bc3a3fddca373df28..9c4b11fab8eca2b77a737ebf196d15543064b398 100644 (file)
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <linux/net.h>
-
-/*
- * Some architectures have socketcall(), some have real syscalls,
- * and some have both, but the syscall version is always preferred.
- * Look for __NR_<call> to probe for the existence of a syscall.
- */
-
-#ifdef __NR_socketcall
-static inline _syscall2(int,socketcall,int,call,unsigned long *,args);
-#endif
+#include <sys/socketcalls.h>