Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH obexd v2] syncevolution: fix missing header file
@ 2011-11-17 10:42 Mikel Astiz
  2011-11-17 11:39 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Mikel Astiz @ 2011-11-17 10:42 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mikel Astiz

This missing include directive makes the syncevolution plugin fail to
compile. In Fedora 16 with gcc version 4.6.1 20110908, the output is:

make --no-print-directory all-am
  CC     plugins/syncevolution.o
In file included from plugins/syncevolution.c:40:0:
./src/mimetype.h:33:46: error: unknown type name ‘mode_t’
plugins/syncevolution.c:277:54: error: unknown type name ‘mode_t’
plugins/syncevolution.c:438:2: error: unknown field ‘open’ specified in initializer
plugins/syncevolution.c:438:10: error: ‘synce_open’ undeclared here (not in a function)
make[1]: *** [plugins/syncevolution.o] Error 1
---
 src/mimetype.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mimetype.h b/src/mimetype.h
index 79529b8..374dcac 100644
--- a/src/mimetype.h
+++ b/src/mimetype.h
@@ -21,6 +21,8 @@
  *
  */
 
+#include <sys/types.h>
+
 typedef gboolean (*obex_object_io_func) (void *object, int flags, int err,
 							void *user_data);
 
-- 
1.7.6.4


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

end of thread, other threads:[~2011-11-17 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17 10:42 [PATCH obexd v2] syncevolution: fix missing header file Mikel Astiz
2011-11-17 11:39 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox