Hello,
 
I am building the PoDoFo base library on a new platform without
sys/types.h (i.e. PODOFO_HAVE_SYS_TYPE_H is 0).  The patch below fixes
my issue (e.g PdfCompilerCompat.h determines when to include it).
PdfEncrypt.cpp (line 256):
...
    // C header for MD5
-   #include <sys/types.h>
    #include <string,h>
...
The above is likely an issue with PdfFiltersPrivate.cpp/line:44 also,
but I am not currently using the TIFF library.
 
 
Also, I noticed a possible typo below (though the cmakedefine is
currently unused anyway):
CMakeLists.txt (line 72):
...
-    CHECK_INCLUDE_FILE("ctype.h" PODOFO_HAVE_MEM_H)
+    CHECK_INCLUDE_FILE("ctype.h" PODOFO_HAVE_CTYPE_H)
...
 
Best Regards,
Victor Ivashin
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to