fix the build

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18523 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-08-17 13:22:36 +00:00
parent 25160e5093
commit cb57453f51
2 changed files with 6 additions and 5 deletions

View File

@ -7,10 +7,10 @@ if $(TARGET_PLATFORM) != haiku {
# Needed for <support/Errors.h> and maybe other stuff.
UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ;
# We need the public pcmcia headers also when not compiling for Haiku.
UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
# We need the public posix headers also when not compiling for Haiku.
}
UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
KernelAddon ds : kernel drivers bus pcmcia :
ds.c
;

View File

@ -6,11 +6,12 @@
#include <Drivers.h>
#include <OS.h>
#include <bus_manager.h>
#include <module.h>
#include <string.h>
#include <sys/ioctl.h>
#include <malloc.h>
#include <module.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioccom.h>
#include <sys/ioctl.h>
#define __KERNEL__
#include <pcmcia/cs_types.h>