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

* Re: [PATCH] slcand: include <sys/socket.h>
  2014-01-31 10:54 [PATCH] slcand: include <sys/socket.h> yegorslists
@ 2014-01-31 10:59 ` Marc Kleine-Budde
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2014-01-31 10:59 UTC (permalink / raw)
  To: yegorslists, linux-can

[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

On 01/31/2014 11:54 AM, yegorslists@googlemail.com wrote:
> 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>

applied.

tnx,
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 242 bytes --]

^ permalink raw reply	[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).