diff --git a/hw/xfree86/loader/loader.c b/hw/xfree86/loader/loader.c index 96d204190..a5e89127f 100644 --- a/hw/xfree86/loader/loader.c +++ b/hw/xfree86/loader/loader.c @@ -76,11 +76,6 @@ #include "compiler.h" #include "sym.h" -#if defined(sun) -/* Cross build machine doesn;t have strerror() */ -#define strerror(err) "strerror unsupported" -#endif - /* * handles are used to identify files that are loaded. Even archives * are counted as a single file. diff --git a/hw/xfree86/loader/loader.h b/hw/xfree86/loader/loader.h index 882dcab2f..ac5f99cf5 100644 --- a/hw/xfree86/loader/loader.h +++ b/hw/xfree86/loader/loader.h @@ -53,9 +53,6 @@ #ifndef _LOADER_H #define _LOADER_H -#if defined(sun) -#define const /**/ -#endif #include #include #include