Menu

#32 Fix build with musl libc

None
pending
None
5
2017-01-12
2016-12-22
No

Build fails with musl libc due to use of nonstandard integer type "uint":

bayer.c: In function 'dc1394_bayer_Downsample':
bayer.c:778:2: error: unknown type name 'uint'
uint tmp;
^~~~

The attached patch fixes it.

1 Attachments

Discussion

  • Andrew Straw

    Andrew Straw - 2017-01-11

    Also needed on Mac OS X.

     
  • Damien Douxchamps

    • status: unread --> pending
    • assigned_to: Damien Douxchamps
    • Group: -->
     
  • Damien Douxchamps

    Type was wrong, should have been a simple "int". Nice catch! Please pull the repo and confirm that it works for you...

     

    Last edit: Damien Douxchamps 2017-01-12
  • Andrew Straw

    Andrew Straw - 2017-01-12

    Yes, it works for me.

     
  • Natanael Copa

    Natanael Copa - 2017-01-12

    works for musl libc too. thanks!

     

Log in to post a comment.