wmbattery: sunos fixes.
Add includes needed to get the sonypi ioctl code to compile on Solaris. Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
This commit is contained in:
parent
321b337e8f
commit
c7b24f59af
|
@ -1,10 +1,15 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#ifdef __sun
|
||||||
|
#include <sys/filio.h>
|
||||||
|
#include <sys/sockio.h>
|
||||||
|
#endif
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include "apm.h"
|
#include "apm.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "sonypi.h"
|
#include "sonypi.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue