Changeset 1107

Show
Ignore:
Timestamp:
06/02/01 05:31:58 (14 years ago)
Author:
mds
Message:

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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/dump/isadump.c

    r798 r1107  
    2222#include <stdlib.h> 
    2323#include <unistd.h> 
    24 #include <asm/io.h> 
    2524 
    2625 
    2726/* To keep glibc2 happy */ 
    2827#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0 
    29 #include <sys/perm.h> 
     28#include <sys/io.h> 
     29#else 
     30#include <asm/io.h> 
    3031#endif 
    3132