nanogui: PowerPC fix
Subject:
PowerPC fix
From:
Jordan Crouse ####@####.####
Date:
5 Feb 2002 01:23:57 -0000
Message-Id: <E16XuHH-0004hD-00@ns.censoft.com>
<io.h> is not needed in scr_fb.c, so the following patch removes the
#includes that look for <io.h>. This helps some Yellowdog (PowerPC) boxes
that don't have <io.h> in the standard spots.
Jordan
--- microwin-clean/src/drivers/scr_fb.c Sun Sep 16 16:41:34 2001
+++ microwin/src/drivers/scr_fb.c Mon Feb 4 18:10:52 2002
@@ -17,13 +17,6 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#ifndef ARCH_LINUX_POWERPPC
-#ifdef __GLIBC__
-#include <sys/io.h>
-#else
-#include <asm/io.h>
-#endif
-#endif
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/stat.h>