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:
Jeremy Sowden 2019-10-29 18:12:15 +00:00 committed by Carlos R. Mafra
parent 321b337e8f
commit c7b24f59af

View file

@ -1,10 +1,15 @@
#include <stdio.h>
#ifdef __sun
#include <sys/filio.h>
#include <sys/sockio.h>
#endif
#include <sys/ioctl.h>
#include "apm.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdint.h>
#include <unistd.h>
#include "sonypi.h"