]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add patch for X/Open, from FreeBSD ports
authorAnders F Björklund <anders.f.bjorklund@gmail.com>
Tue, 12 Jun 2018 19:58:29 +0000 (21:58 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 14 Aug 2018 19:39:15 +0000 (21:39 +0200)
Without this, e.g. "strndup" isn't visible.

m4/feature_macros.m4

index 0243e9f34507ddcee22a4759a351e5d660d6146c..05d3e493336b9f32abf8d3e21524a203880c50ad 100644 (file)
@@ -120,7 +120,7 @@ then
                 Define to the level of X/Open that your system supports)
       ;;
     *)
-      AC_DEFINE(_XOPEN_SOURCE, 600,
+      AC_DEFINE(_XOPEN_SOURCE, 700,
                 Define to the level of X/Open that your system supports)
       ;;
   esac
@@ -142,6 +142,6 @@ then
       ;;
   esac
 
-  AC_DEFINE(_POSIX_C_SOURCE, 200112L, Define to activate features from IEEE Stds 1003.1-2001)
+  AC_DEFINE(_POSIX_C_SOURCE, 200809L, Define to activate features from IEEE Stds 1003.1-2001)
 
 fi