Add support for Windows CE to the code base.
[platform/upstream/dbus.git] / dbus / dbus-sysdeps-util-win.c
index 5b2c29c..5cb1c57 100644 (file)
 #include "dbus-sockets-win.h"
 #include "dbus-memory.h"
 
-#include <io.h>
-#include <sys/stat.h>
-#include <aclapi.h>
-#include <winsock2.h>
-
 #include <stdio.h>
 #include <stdlib.h>
-#include <fcntl.h>
 #if HAVE_ERRNO_H
 #include <errno.h>
 #endif
 #include <winsock2.h>   // WSA error codes
 
+#ifndef DBUS_WINCE
+#include <io.h>
+#include <lm.h>
+#include <sys/stat.h>
+#endif
+
+
 /**
  * Does the chdir, fork, setsid, etc. to become a daemon process.
  *