summaryrefslogtreecommitdiff
path: root/hw/xwin/winfont.c
diff options
context:
space:
mode:
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