Fix headers for ssize_t

This commit is contained in:
Ryan Dahl 2011-04-29 15:18:25 -04:00
parent c1c57f3df2
commit 5dbe9d622e
3 changed files with 2 additions and 5 deletions

View File

@ -21,15 +21,14 @@
#include "oio.h"
#include <stddef.h> /* NULL */
#include <stdio.h> /* printf */
#include <stdlib.h>
#include <string.h> /* strerror */
#include <errno.h>
#include <assert.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@ -26,7 +26,6 @@
#include "ev/ev.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>

3
oio.h
View File

@ -26,8 +26,7 @@
#define OIO_VERSION_MINOR 1
#include <stdint.h> /* int64_t */
#include <stddef.h> /* size_t */
#include <sys/types.h> /* size_t */
typedef struct oio_err_s oio_err;
typedef struct oio_handle_s oio_handle;