Patch from Oleg Vdovikin to make alpha compiles happy.

Replaced sys/perm.h with sys/io.h. But then it conflicted
      with asm/io.h so I changed it to only use one or the other.
      Hope it works.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1107 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2001-06-02 03:31:58 +00:00
1 parent 5e63047a24
commit 96a5ce9a4f
1 file changed
+3 -2
+3 -2
View File
@@ -21,12 +21,13 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <asm/io.h>
/* To keep glibc2 happy */
#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
#include <sys/perm.h>
#include <sys/io.h>
#else
#include <asm/io.h>
#endif
#ifdef __powerpc__