diff options
author | Luka Perkov <luka@openwrt.org> | 2014-07-03 14:28:23 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-07-03 14:53:13 +0400 |
commit | 480b6c7da16e81ad7f358699028a08ef3b4249a1 (patch) | |
tree | 0ccd7ac08a31ad2e018b8adbbf9bffeacf8ff1a5 /examples | |
parent | fd3a33b7ed6e5a6142d35a0ab91fb90f6bbcdc34 (diff) |
examples: add missing include
Patch fixes following build error:
error: implicit declaration of function ‘close’ [-Werror=implicit-function-declaration]
close(cl->s.fd.fd);
Signed-off-by: Luka Perkov <luka@openwrt.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ustream-example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ustream-example.c b/examples/ustream-example.c index 88c7381..3db56c4 100644 --- a/examples/ustream-example.c +++ b/examples/ustream-example.c @@ -5,6 +5,7 @@ #include <getopt.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include "ustream.h" #include "uloop.h" |