OSDN Git Service

core: Use proper header for S_IRUSR/S_IWUSR
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 9 Jul 2013 07:40:00 +0000 (09:40 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 15 Jul 2013 09:24:34 +0000 (12:24 +0300)
commit3d328b458e927a012331eedc6da988fb0db60054
treef3be030be2c50fad3af61fc434c0321fb2608e13
parent57ce0cb4c2ad4b03bc1863255dfc508725cedd84
core: Use proper header for S_IRUSR/S_IWUSR

According to open() manual one should include <sys/stat.h>.
This fix build with bionic library:

target thumb C: libbluetoothd <= external/bluetooth/bluez/src/attrib-server.c
external/bluetooth/bluez/src/attrib-server.c: In function 'write_value':
external/bluetooth/bluez/src/attrib-server.c:922:26: error: 'S_IRUSR'
 undeclared (first use in this function)
external/bluetooth/bluez/src/attrib-server.c:922:26: note: each undeclared
identifier is reported only once for each function it appears in
external/bluetooth/bluez/src/attrib-server.c:922:36: error: 'S_IWUSR'
undeclared (first use in this function)
src/attrib-server.c