]> code.citadel.org Git - citadel.git/blobdiff - citadel/internet_addressing.c
warning fixes and cleanups for 64-bit machines
[citadel.git] / citadel / internet_addressing.c
index f60f7a185a62d89a02ecee0547e31eb59b3593fa..678189bb1b4b1ad7e947ea6d3100de21bcdbfbbb 100644 (file)
@@ -5,6 +5,10 @@
  * to users on the Citadel system.
  */
 
+#ifdef DLL_EXPORT
+#define IN_LIBCIT
+#endif
+
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
@@ -32,6 +36,7 @@
 #include <limits.h>
 #include "citadel.h"
 #include "server.h"
+#include "dynloader.h"
 #include "sysdep_decls.h"
 #include "citserver.h"
 #include "support.h"
 #include "parsedate.h"
 
 
+#ifndef HAVE_SNPRINTF
+#include "snprintf.h"
+#endif
+
+
 struct trynamebuf {
        char buffer1[SIZ];
        char buffer2[SIZ];