diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-06 17:13:36 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-06 17:13:36 (GMT) |
commit | 8111b06078902995ae07fa0322222e64491ce6f9 (patch) | |
tree | 9abaef1d285515173c0b8faf66eb7feb8c59f69b /Utilities | |
parent | 5a509ab6ae8870cce010a1de509508bc26095644 (diff) | |
download | CMake-8111b06078902995ae07fa0322222e64491ce6f9.zip CMake-8111b06078902995ae07fa0322222e64491ce6f9.tar.gz CMake-8111b06078902995ae07fa0322222e64491ce6f9.tar.bz2 |
Fix hpux build on heart
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_string.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_string.c b/Utilities/cmlibarchive/libarchive/archive_string.c index 8a93e31..8da0541 100644 --- a/Utilities/cmlibarchive/libarchive/archive_string.c +++ b/Utilities/cmlibarchive/libarchive/archive_string.c @@ -22,6 +22,9 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef _XOPEN_SOURCE +# define _XOPEN_SOURCE 500 /* mbstate_t define on some hpux */ +#endif #include "archive_platform.h" __FBSDID("$FreeBSD: src/lib/libarchive/archive_string.c,v 1.17 2008/12/06 05:56:43 kientzle Exp $"); |