projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd3a33b
)
examples: add missing include
author
Luka Perkov
<luka@openwrt.org>
Thu, 3 Jul 2014 10:28:23 +0000
(12:28 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jul 2014 10:53:13 +0000
(12:53 +0200)
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>
examples/ustream-example.c
patch
|
blob
|
history
diff --git
a/examples/ustream-example.c
b/examples/ustream-example.c
index 88c7381040c469af74bb922b0b7ede14f9be99e0..3db56c443e0f9eb67bc3d3b75c099445522de2f3 100644
(file)
--- 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"