Commit: 3d328b458e927a012331eedc6da988fb0db60054
Parent: 57ce0cb4c2ad4b03bc1863255dfc508725cedd84
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-07-15 12:24:34
Tree: f3be030be2c50fad3af61fc434c0321fb2608e13

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)

Diffstat

M src/attrib-server.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch