Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
msr-tools
msr-tools-fix-compile-warning.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File msr-tools-fix-compile-warning.diff of Package msr-tools
--- rdmsr.c | 1 + 1 file changed, 1 insertion(+) Index: msr-tools-1.1.2/rdmsr.c =================================================================== --- msr-tools-1.1.2.orig/rdmsr.c +++ msr-tools-1.1.2/rdmsr.c @@ -17,6 +17,7 @@ * Utility to read an MSR. */ +#define _XOPEN_SOURCE 500 /* for pread() */ #include <errno.h> #include <stdio.h> #include <fcntl.h> Index: msr-tools-1.1.2/wrmsr.c =================================================================== --- msr-tools-1.1.2.orig/wrmsr.c +++ msr-tools-1.1.2/wrmsr.c @@ -17,6 +17,7 @@ * Utility to write to an MSR. */ +#define _XOPEN_SOURCE 500 #include <errno.h> #include <stdio.h> #include <fcntl.h>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor