[Cmake-commits] [cmake-commits] zach.mullen committed archive_entry.c 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Nov 5 14:06:47 EST 2009


Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv32473

Modified Files:
	archive_entry.c 
Log Message:
Fix libarchive linker errors on SunOS for mkdev/major/minor


Index: archive_entry.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_entry.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** archive_entry.c	4 Nov 2009 22:25:35 -0000	1.2
--- archive_entry.c	5 Nov 2009 19:06:45 -0000	1.3
***************
*** 30,33 ****
--- 30,37 ----
  #include <sys/stat.h>
  #endif
+ #if defined(__sun)
+ #include <sys/types.h>
+ #include <sys/mkdev.h>
+ #endif
  #ifdef HAVE_SYS_TYPES_H
  #include <sys/types.h>



More information about the Cmake-commits mailing list