OSDN Git Service

obexd: Fix compilation error with musl
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 19 Sep 2014 14:10:11 +0000 (16:10 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Sep 2014 18:31:13 +0000 (21:31 +0300)
commit29ec84e8d21f85c85be3104e29274d5328b7868e
tree7dbd9f2b25c932c6a4b78c26f4dcfefdb27aae42
parent37cd91c3bf02d0371ede26cce4b8b4823a9430a9
obexd: Fix compilation error with musl

  CC       obexd/plugins/obexd-filesystem.o
In file included from obexd/plugins/filesystem.c:40:0:
/usr/include/wait.h:1:2: error: #warning redirecting incorrect
    #include <wait.h> to <sys/wait.h> [-Werror=cpp]
 #warning redirecting incorrect #include <wait.h> to <sys/wait.h>
  ^
cc1: all warnings being treated as errors
Makefile:6447: recipe for target 'obexd/plugins/obexd-filesystem.o' failed
make[1]: *** [obexd/plugins/obexd-filesystem.o] Error 1
obexd/plugins/filesystem.c