components/desktop/thunderbird/patches/firefox31-gnu-130-xopen.patch
changeset 5527 611b2d6efdfe
parent 5526 570ac9aab8b2
child 5528 f2f5af510081
equal deleted inserted replaced
5526:570ac9aab8b2 5527:611b2d6efdfe
     1 Prevent:
       
     2 error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX applications
       
     3 
       
     4 --- comm-esr31/mozilla/media/libpng/pngpriv.h.orig	2015-06-04 13:00:52.516503541 -0700
       
     5 +++ comm-esr31/mozilla/media/libpng/pngpriv.h	2015-06-04 13:00:52.515657420 -0700
       
     6 @@ -39,6 +39,8 @@
       
     7   */
       
     8  #define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
       
     9  
       
    10 +#define _XOPEN_SOURCE 600
       
    11 +
       
    12  #ifndef PNG_VERSION_INFO_ONLY
       
    13  /* Standard library headers not required by png.h: */
       
    14  #  include <stdlib.h>