diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2007-04-26 14:15:55 +0300 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-04-26 14:15:55 +0300 |
commit | b69b42634619076d4163ae144f0154880d1928cd (patch) | |
tree | e85e6a580c0a2dd7df866539cc14a157286a43b4 /libdrm/xf86drmSL.c | |
parent | 2a6f555053bd404e7e5721c40990da2d9db53d19 (diff) |
libdrm: remove HAVE_XORG_CONFIG_H and XFree86LOADER ifdef's.
We no longer import libdrm in the xserver.
Diffstat (limited to 'libdrm/xf86drmSL.c')
-rw-r--r-- | libdrm/xf86drmSL.c | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/libdrm/xf86drmSL.c b/libdrm/xf86drmSL.c index ab2cc098..ce60648d 100644 --- a/libdrm/xf86drmSL.c +++ b/libdrm/xf86drmSL.c @@ -25,8 +25,6 @@ * * Authors: Rickard E. (Rik) Faith <faith@valinux.com> * - * $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmSL.c,v 1.3 2000/06/17 00:03:34 martin Exp $ - * * DESCRIPTION * * This file contains a straightforward skip list implementation.n @@ -40,26 +38,16 @@ * */ -#ifdef HAVE_XORG_CONFIG_H -#include <xorg-config.h> -#endif +#include <stdio.h> +#include <stdlib.h> #define SL_MAIN 0 -#if SL_MAIN -# include <stdio.h> -# include <stdlib.h> -# include <sys/time.h> -#else +#if !SL_MAIN # include "drm.h" # include "xf86drm.h" -# ifdef XFree86LOADER -# include "xf86.h" -# include "xf86_ansic.h" -# else -# include <stdio.h> -# include <stdlib.h> -# endif +#else +# include <sys/time.h> #endif #define SL_LIST_MAGIC 0xfacade00LU |