[PR #19] [bro] fix missing malloc.h on OSX #598

Closed
opened 2026-01-29 20:46:21 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/google/brotli/pull/19

State: closed
Merged: No


Hello,

the sample "bro" tool does not compile on OSX (I'm using 10.9.5):

bro.cc:19:10: fatal error: 'malloc.h' file not found

It seems like the malloc.h header file is located inside /usr/include/malloc/malloc.h on that platform.
With this patch, it compiles correctly.

All best,

Cosimo

**Original Pull Request:** https://github.com/google/brotli/pull/19 **State:** closed **Merged:** No --- Hello, the sample "bro" tool does not compile on OSX (I'm using 10.9.5): ``` bro.cc:19:10: fatal error: 'malloc.h' file not found ``` It seems like the malloc.h header file is located inside `/usr/include/malloc/malloc.h` on that platform. With this patch, it compiles correctly. All best, Cosimo
claunia added the pull-request label 2026-01-29 20:46:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#598