Re: [PATCH SBC] Fix for build on windows mingw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From b2fdd53da7c684b56580c1332a25507530a5702e Mon Sep 17 00:00:00 2001
From: Ilya Averyanov <averyanovin@xxxxxxxxx>
Date: Tue, 4 Oct 2016 17:47:17 +0300
Subject: [PATCH] Fix error for build on windows mingw

Errors occur because int32_t type and other types define only in
stdint.h and mingw not include this file by default
---
 sbc/sbc_math.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbc/sbc_math.h b/sbc/sbc_math.h
index 5476860..25b08ea 100644
--- a/sbc/sbc_math.h
+++ b/sbc/sbc_math.h
@@ -24,6 +24,8 @@
  *
  */

+#include <stdint.h>
+
 #define fabs(x) ((x) < 0 ? -(x) : (x))
 /* C does not provide an explicit arithmetic shift right but this will
    always be correct and every compiler *should* generate optimal code */
-- 
2.7.4


2016-10-04 17:22 GMT+03:00 Johan Hedberg <johan.hedberg@xxxxxxxxx>:
> Hi Ilya,
>
> On Tue, Oct 04, 2016, Ilya Averyanov wrote:
>> What about the patch?
>
> I think Luiz meant for you to resend the patch with the added
> information in the commit message. You can adjust the commit message in
> your local tree using git commit --amend.
>
> Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux