sync with sylpheed 0.6.1cvs6
[claws.git] / src / jpilot.h
index a3b7254583398e6fe40e7e149c3c4031bcc5451b..6d8edf12007b5807299df0890f44d08644474007 100644 (file)
 #ifndef __JPILOT_H__
 #define __JPILOT_H__
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #ifdef USE_JPILOT
 
-#include <stdio.h>
 #include <glib.h>
-#include <pi-address.h>
+#include <stdio.h>
+
+#ifdef HAVE_LIBPISOCK_PI_ADDRESS_H
+#  include <libpisock/pi-address.h>
+#else
+#  include <pi-address.h>
+#endif
 
 #include "addritem.h"
 #include "addrcache.h"