Skip to content

Commit

Permalink
Allow new modes code to build inside drivers as well as server.
Browse files Browse the repository at this point in the history
Use config.h for driver builds where xorg-config.h isn't available.
  • Loading branch information
Keith Packard committed Feb 15, 2007
1 parent 12505d9 commit 585a32b
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hw/xfree86/modes/xf86Crtc.c
Expand Up @@ -22,6 +22,10 @@

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#else
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#endif

#include <stddef.h>
Expand Down
4 changes: 4 additions & 0 deletions hw/xfree86/modes/xf86DiDGA.c
Expand Up @@ -22,6 +22,10 @@

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#else
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#endif

#include "xf86.h"
Expand Down
4 changes: 4 additions & 0 deletions hw/xfree86/modes/xf86EdidModes.c
Expand Up @@ -27,6 +27,10 @@
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#else
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#endif

#include "xf86.h"
Expand Down
4 changes: 4 additions & 0 deletions hw/xfree86/modes/xf86Modes.c
Expand Up @@ -30,6 +30,10 @@

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#else
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#endif

#include <stddef.h>
Expand Down
4 changes: 4 additions & 0 deletions hw/xfree86/modes/xf86RandR12.c
Expand Up @@ -25,6 +25,10 @@

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#else
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#endif

#include "xf86.h"
Expand Down
4 changes: 4 additions & 0 deletions hw/xfree86/modes/xf86Rotate.c
Expand Up @@ -22,6 +22,10 @@

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#else
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#endif

#include <stddef.h>
Expand Down
4 changes: 4 additions & 0 deletions hw/xfree86/modes/xf86cvt.c
Expand Up @@ -33,6 +33,10 @@

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#else
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#endif

#include "xf86.h"
Expand Down

0 comments on commit 585a32b

Please sign in to comment.