Using FD_ZERO requires including string.h for the memset() prototype.

This commit is contained in:
Jasper Lievisse Adriaanse 2011-08-01 11:15:57 +02:00 committed by Daniel Beer
parent 1560547a0d
commit f597d25811
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "sockets.h"
#include "util.h"

View File

@ -19,6 +19,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include "sport.h"
#include "util.h"