Hi Natanael, On Wed, Jan 22, 2014 at 9:50 AM, Natanael Copa <natanael.copa@xxxxxxxxx> wrote: > diff --git a/src/textfile.h b/src/textfile.h > index b779bd2..e26da5d 100644 > --- a/src/textfile.h > +++ b/src/textfile.h > @@ -24,6 +24,8 @@ > #ifndef __TEXTFILE_H > #define __TEXTFILE_H > > +#include <sys/stat.h> > + I believe the correct approach here is to include sys/stat.h on all files that include textfile.h. We (usually) don't #include system headers inside internal headers. > int create_file(const char *filename, const mode_t mode); > int create_name(char *buf, size_t size, const char *path, > const char *address, const char *name); Best Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- 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