diff src/nick2ldif.cpp @ 118:0f1492b7fe8b

patch from Fridrich Strba for building on mingw and general cleanup of autoconf files add processing for pst files of type 0x0f start adding support for properly building and installing libpst.so and the header files required to use it. remove version.h since the version number is now in config.h more const correctness issues regarding getopt()
author Carl Byington <carl@five-ten-sg.com>
date Sat, 31 Jan 2009 12:12:36 -0800
parents e5418051878c
children ab2a11e72250
line wrap: on
line diff
--- a/src/nick2ldif.cpp	Fri Jan 16 15:31:11 2009 -0800
+++ b/src/nick2ldif.cpp	Sat Jan 31 12:12:36 2009 -0800
@@ -10,7 +10,9 @@
 #include <iostream>
 //#include <fstream>
 #include <unistd.h>
-#include "version.h"
+extern "C" {
+    #include "define.h"
+}
 
 char *ldap_base  = NULL;
 char *ldap_org	 = NULL;
@@ -18,7 +20,7 @@
 
 using namespace std;
 
-int main(int argc, char** argv) {
+int main(int argc, const char** argv) {
 	char c;
 	char *temp;
 	while ((c = getopt(argc, argv, "b:c:"))!= -1) {