[PATCH:libpciaccess 1/3] Protect config.h like usual.
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Jun 7 20:37:53 PDT 2013
On 06/ 2/13 01:38 PM, Thomas Klausner wrote:
> ---
> src/common_bridge.c | 3 +++
> src/common_device_name.c | 3 +++
> 2 files changed, 6 insertions(+)
>
> diff --git a/src/common_bridge.c b/src/common_bridge.c
> index 82a13fd..b4b5d7e 100644
> --- a/src/common_bridge.c
> +++ b/src/common_bridge.c
> @@ -29,7 +29,10 @@
> * \author Ian Romanick <idr at us.ibm.com>
> */
>
> +#ifdef HAVE_CONFIG_H
> #include "config.h"
> +#endif
> +
> #include <stdio.h>
> #include <stdlib.h>
> #include <ctype.h>
> diff --git a/src/common_device_name.c b/src/common_device_name.c
> index ad9ed9d..8c73dbd 100644
> --- a/src/common_device_name.c
> +++ b/src/common_device_name.c
> @@ -28,7 +28,10 @@
> * with a particular device or vendor.
> */
>
> +#ifdef HAVE_CONFIG_H
> #include "config.h"
> +#endif
> +
> #include <stdio.h>
> #include <stdlib.h>
> #include <ctype.h>
>
Pushed to git master:
To ssh://git.freedesktop.org/git/xorg/lib/libpciaccess
434cd73..719888a master -> master
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list