ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.

diff --git a/include/device.h b/include/device.h
index 6a5216c..d0f0c7f 100644
--- a/include/device.h
+++ b/include/device.h
@@ -1,5 +1,8 @@
 #ifndef __WINE_DEVICE_H
 #define __WINE_DEVICE_H
+
+#include "winbase.h"
+
 extern HANDLE DEVICE_Open( LPCSTR filename, DWORD access,
                              LPSECURITY_ATTRIBUTES sa );
 #endif