Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / external / liblangtag / liblangtag-0.5.1-undefined-have-sys-param-h.patch
blob3cee1458ab7e536a4e55b9c6a7bf12ed6ce2e2a0
1 # liblangtag/lt-macros.h:17:5: error: "HAVE_SYS_PARAM_H" is not defined [-Werror=undef]
3 diff -ru UnpackedTarball/langtag.orig/liblangtag/lt-macros.h UnpackedTarball/langtag/liblangtag/lt-macros.h
4 --- UnpackedTarball/langtag.orig/liblangtag/lt-macros.h 2013-04-30 16:09:19.362392416 +0200
5 +++ UnpackedTarball/langtag/liblangtag/lt-macros.h 2013-04-30 18:01:13.275188759 +0200
6 @@ -14,7 +14,7 @@
7 #error "Only <liblangtag/langtag.h> can be included directly."
8 #endif
10 -#if HAVE_SYS_PARAM_H
11 +#if defined(HAVE_SYS_PARAM_H) && HAVE_SYS_PARAM_H
12 #include <sys/param.h>
13 #endif