Linux bluetooth development
 help / color / mirror / Atom feed
From: Anderson Lizardo <anderson.lizardo@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Cc: Anderson Lizardo <anderson.lizardo@openbossa.org>
Subject: [PATCH BlueZ] Fix build error for hciemu
Date: Fri,  2 Dec 2011 14:20:15 -0400	[thread overview]
Message-ID: <1322850015-395-1-git-send-email-anderson.lizardo@openbossa.org> (raw)

Error:

test/hciemu.c: In function 'create_snoop':
test/hciemu.c:155: error: 'S_IRUSR' undeclared (first use in this
function)
test/hciemu.c:155: error: (Each undeclared identifier is reported only
once
test/hciemu.c:155: error: for each function it appears in.)
test/hciemu.c:155: error: 'S_IWUSR' undeclared (first use in this
function)
test/hciemu.c:155: error: 'S_IRGRP' undeclared (first use in this
function)
test/hciemu.c:155: error: 'S_IROTH' undeclared (first use in this
function)
---
 test/hciemu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/test/hciemu.c b/test/hciemu.c
index 38918f5..f2879ba 100644
--- a/test/hciemu.c
+++ b/test/hciemu.c
@@ -40,6 +40,7 @@
 #include <sys/epoll.h>
 #include <sys/socket.h>
 #include <sys/resource.h>
+#include <sys/stat.h>
 
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/hci.h>
-- 
1.7.0.4


             reply	other threads:[~2011-12-02 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02 18:20 Anderson Lizardo [this message]
2011-12-02 18:44 ` [PATCH BlueZ] Fix build error for hciemu Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1322850015-395-1-git-send-email-anderson.lizardo@openbossa.org \
    --to=anderson.lizardo@openbossa.org \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox