Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

unix: fix compiler warning in kqueue.c, tcp.c, udp.c

Include <unistd.h>, it contains the definition of close().
  • Loading branch information...
bnoordhuis committed Sep 27, 2011
1 parent ceff85d commit c89a75f5a277991fac7ebf281ac977cd56692078
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/unix/kqueue.c
  2. +1 −0 src/unix/tcp.c
  3. +1 −0 src/unix/udp.c
@@ -31,6 +31,7 @@
#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/event.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>

@@ -22,6 +22,7 @@
#include "uv.h"
#include "internal.h"

#include <unistd.h>
#include <assert.h>
#include <errno.h>

@@ -26,6 +26,7 @@
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>


static void uv__udp_run_completed(uv_udp_t* handle);

0 comments on commit c89a75f

Please sign in to comment.
You can’t perform that action at this time.