uv-unix: fix 'implicit declaration of function ‘accept4’'
This commit is contained in:
parent
d4563a197a
commit
c0d4669f87
@ -18,12 +18,12 @@
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE /* O_CLOEXEC, accept4(), etc. */
|
||||
|
||||
#include "uv.h"
|
||||
#include "uv-common.h"
|
||||
#include "uv-eio.h"
|
||||
|
||||
#define _GNU_SOURCE /* O_CLOEXEC */
|
||||
|
||||
#include <stddef.h> /* NULL */
|
||||
#include <stdio.h> /* printf */
|
||||
#include <stdlib.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user