Hi Natanael, On Wed, Jan 22, 2014, Natanael Copa wrote: > we need: > sys/stat.h for mode_t > limits.h for PATH_MAX > > Fixes compile errors: > In file included from tools/hciconfig.c:45:0: > ./src/textfile.h:27:1: error: unknown type name 'mode_t' > int create_file(const char *filename, const mode_t mode); > ^ > > tools/csr_usb.c: In function 'read_value': > tools/csr_usb.c:71:12: error: 'PATH_MAX' undeclared (first use in this function) > char path[PATH_MAX]; > ^ > --- > Changes v2 -> v3: > - include the sys/stat.h in hciconfig.c instead of textfile.h. This was > the only needed change for defining mode_t everywhere. > > tools/csr_usb.c | 1 + > tools/hciconfig.c | 1 + > tools/hid2hci.c | 1 + > 3 files changed, 3 insertions(+) Seems this patch was forgotten. It has now finally been applied upstream. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html