linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] slcand: include <sys/socket.h>
@ 2014-01-31 10:54 yegorslists
  2014-01-31 10:59 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists @ 2014-01-31 10:54 UTC (permalink / raw)
  To: linux-can; +Cc: Yegor Yefremov

From: Yegor Yefremov <yegorslists@googlemail.com>

Linux build compiles without errors, but Android build
complains about undefined routines and macros.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 slcand.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/slcand.c b/slcand.c
index 831e8c6..d71ba4d 100644
--- a/slcand.c
+++ b/slcand.c
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/socket.h>
 #include <fcntl.h>
 #include <syslog.h>
 #include <errno.h>
-- 
1.7.7


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-31 11:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-31 10:54 [PATCH] slcand: include <sys/socket.h> yegorslists
2014-01-31 10:59 ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).