Explorar o código

Fix hpux build on heart

Bill Hoffman %!s(int64=16) %!d(string=hai) anos
pai
achega
8111b06078
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Utilities/cmlibarchive/libarchive/archive_string.c

+ 3 - 0
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 $");