sngrep: fix error if gnutls and openssl are both enabled
[buildroot-gz.git] / package / openvmtools / 0001-has_bsd_printf.patch
blobdf23f00414d8b841fe1e9c3b82ed8ab54e45e6fd
1 lib/misc/msgList.c: missing #ifdef
3 This macro checks for BSD style printf(), which is not present
4 when compiling for uClibc. The linked functions are unnecessary in
5 this case, and they break compilation.
7 Signed-off-by: Karoly Kasza <kaszak@gmail.com>
9 --- openvmtools-stable-9.10.0.orig/open-vm-tools/lib/misc/msgList.c 2015-06-17 10:01:00.000000000 +0200
10 +++ openvmtools-stable-9.10.0/open-vm-tools/lib/misc/msgList.c 2015-06-17 10:01:00.000000000 +0200
11 @@ -487,6 +487,7 @@
12 return messages->id;
15 +#ifdef HAS_BSD_PRINTF
18 *----------------------------------------------------------------------
19 @@ -566,6 +567,7 @@
23 +#endif
26 *----------------------------------------------------------------------