On 06/25/2012 08:11 PM, Peter Meerwald wrote: > Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx Acked-by: Jonathan Cameron <jic23@xxxxxxxxxx> Thanks for this set Peter. Nice to get cleanups on the bits that don't get hit by the autobuilders! > --- > drivers/staging/iio/Documentation/generic_buffer.c | 3 +++ > drivers/staging/iio/Documentation/iio_utils.h | 1 + > 2 files changed, 4 insertions(+) > > diff --git a/drivers/staging/iio/Documentation/generic_buffer.c b/drivers/staging/iio/Documentation/generic_buffer.c > index 1dd0681..aaf6146 100644 > --- a/drivers/staging/iio/Documentation/generic_buffer.c > +++ b/drivers/staging/iio/Documentation/generic_buffer.c > @@ -18,6 +18,8 @@ > * > */ > > +#define _GNU_SOURCE > + > #include <unistd.h> > #include <dirent.h> > #include <fcntl.h> > @@ -29,6 +31,7 @@ > #include <string.h> > #include <poll.h> > #include <endian.h> > +#include <getopt.h> > #include <inttypes.h> > #include "iio_utils.h" > > diff --git a/drivers/staging/iio/Documentation/iio_utils.h b/drivers/staging/iio/Documentation/iio_utils.h > index 9c7a5aa..c0448b3 100644 > --- a/drivers/staging/iio/Documentation/iio_utils.h > +++ b/drivers/staging/iio/Documentation/iio_utils.h > @@ -13,6 +13,7 @@ > #include <stdio.h> > #include <stdint.h> > #include <dirent.h> > +#include <errno.h> > > /* Made up value to limit allocation sizes */ > #define IIO_MAX_NAME_LENGTH 30 > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html