[PATCH 2/2] os: Ensure <dix-config.h> is included in strndup.c
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Feb 10 08:57:59 PST 2013
On 02/ 9/13 08:41 PM, Jeremy Huddleston Sequoia wrote:
> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
> ---
> os/strndup.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/os/strndup.c b/os/strndup.c
> index b604b9b..e0eddf1 100644
> --- a/os/strndup.c
> +++ b/os/strndup.c
> @@ -27,6 +27,10 @@
> * SUCH DAMAGE.
> */
>
> +#ifdef HAVE_DIX_CONFIG_H
> +#include <dix-config.h>
> +#endif
> +
> #include <stddef.h>
> #include <stdlib.h>
> #include <string.h>
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list