summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-syscall-api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
index 7d53606b..609ed842 100644
--- a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
+++ b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
@@ -46,6 +46,7 @@
#include <sys/cdefs.h>
#include <sys/select.h>
+#include <sys/socket.h>
__BEGIN_DECLS
@@ -54,6 +55,8 @@ int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,
int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
+int socket(int, int, int);
+
__END_DECLS
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSCALL_API_H_ */