X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fsocket.h;h=4afec4efb3e44417d631835f05bc2baa20a9a15e;hb=3b5e69052a867e9d99cf4c655d775bd06e3437f1;hp=97d78871ae1413f730c1f1d449901a2e166850e7;hpb=455f96857f91d14e193219ca00969354a981c09c;p=musl diff --git a/include/sys/socket.h b/include/sys/socket.h index 97d78871..4afec4ef 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -255,6 +255,10 @@ int sockatmark (int); #define SHUT_WR 1 #define SHUT_RDWR 2 +#ifdef _GNU_SOURCE +int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int); +#endif + #ifdef __cplusplus } #endif