summaryrefslogtreecommitdiff
path: root/hw/xwin/winfont.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-07-04 22:10:43 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-07-04 22:10:43 +0000
commit508cdb5cb01a91b1bf3ef31da80b6b1d36286bf0 (patch)
tree551e89f7936f87c5c3843e5a8ef396cbbd1eb196 /hw/xwin/winfont.c
parent5e50ae22bf206d6c2cc05e772e05fa5a363acb81 (diff)
Include xwin-config.h if HAVE_XWIN_CONFIG is defined Cleanup X11 includes
handling Warning fixes
Diffstat (limited to 'hw/xwin/winfont.c')
-rw-r--r--hw/xwin/winfont.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xwin/winfont.c b/hw/xwin/winfont.c
index 64c6cd233..af3e90da5 100644
--- a/hw/xwin/winfont.c
+++ b/hw/xwin/winfont.c
@@ -28,8 +28,12 @@
* Authors: Harold L Hunt II
*/
+#ifdef HAVE_XWIN_CONFIG_H
+#include <xwin-config.h>
+#endif
#include "win.h"
+#ifdef XWIN_NATIVEGDI
/* See Porting Layer Definition - p. 32 */
/* See mfb/mfbfont.c - mfbRealizeFont() - which is empty :) */
Bool
@@ -73,3 +77,4 @@ winUnrealizeFontNativeGDI (ScreenPtr pScreen, FontPtr pFont)
#endif
return TRUE;
}
+#endif