From f713a5a625308487b79c71e8b9f2d806cec42a7e Mon Sep 17 00:00:00 2001 From: Peter Meerwald Date: Mon, 25 Jun 2012 23:12:17 +0200 Subject: [PATCH] --- yaml --- r: 317567 b: refs/heads/master c: bb23378c0b1c9a410d40adea74276544a00fb94e h: refs/heads/master i: 317565: df5dc702b16f4662262500ecb4773267a3a06d47 317563: 5d824014ee1be466e8aaa4441f27ac6cffa1c4a3 317559: d19688eef33628f59aea18ab1f26fbd7a1d25772 317551: 42afc89a4150334fd58bdc003d447c5d43e16a02 317535: 65fbbcc3a0482524f2d404463d208a74a49251e6 317503: c428926c455eb641672842f5727c64a81745ecca 317439: 5248ab893b8ec78754825deef5e9683da0618d92 v: v3 --- [refs] | 2 +- trunk/drivers/staging/iio/Documentation/generic_buffer.c | 3 +++ trunk/drivers/staging/iio/Documentation/iio_utils.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 3abe273d05a1..03cb2cdb2bc3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1bcdfbcf7599a42f7aa0e41c88df178fecebc909 +refs/heads/master: bb23378c0b1c9a410d40adea74276544a00fb94e diff --git a/trunk/drivers/staging/iio/Documentation/generic_buffer.c b/trunk/drivers/staging/iio/Documentation/generic_buffer.c index b16c4b208ae4..827e92de8e30 100644 --- a/trunk/drivers/staging/iio/Documentation/generic_buffer.c +++ b/trunk/drivers/staging/iio/Documentation/generic_buffer.c @@ -18,6 +18,8 @@ * */ +#define _GNU_SOURCE + #include #include #include @@ -29,6 +31,7 @@ #include #include #include +#include #include #include "iio_utils.h" diff --git a/trunk/drivers/staging/iio/Documentation/iio_utils.h b/trunk/drivers/staging/iio/Documentation/iio_utils.h index 9c7a5aa5e2c7..c0448b3e20de 100644 --- a/trunk/drivers/staging/iio/Documentation/iio_utils.h +++ b/trunk/drivers/staging/iio/Documentation/iio_utils.h @@ -13,6 +13,7 @@ #include #include #include +#include /* Made up value to limit allocation sizes */ #define IIO_MAX_NAME_LENGTH 30