Fix x64 build after WinCE intptr_t usage changes.
authorChristian Dywan <christian.dywan@lanedo.com>
Wed, 5 May 2010 11:58:24 +0000 (13:58 +0200)
committerRalf Habacker <ralf@winkde.(none)>
Thu, 10 Jun 2010 12:48:58 +0000 (14:48 +0200)
dbus/dbus-sysdeps-util-unix.c
dbus/dbus-sysdeps.h

index 6c50f17..5904950 100644 (file)
@@ -251,7 +251,8 @@ _dbus_write_pid_to_file_and_pipe (const DBusString *pidfile,
       DBusString pid;
       int bytes;
 
-      _dbus_verbose ("writing our pid to pipe %d\n", print_pid_pipe->fd_or_handle);
+      _dbus_verbose ("writing our pid to pipe %"PRIuPTR"\n",
+                     print_pid_pipe->fd_or_handle);
       
       if (!_dbus_string_init (&pid))
         {
index 8d18297..0fd5da7 100644 (file)
 #ifndef DBUS_SYSDEPS_H
 #define DBUS_SYSDEPS_H
 
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <dbus/dbus-errors.h>
 #include <dbus/dbus-file.h>
 #include <dbus/dbus-string.h>