jamesbowman / i2cdriver

I2CDriver open source tools
https://i2cdriver.com/
BSD 3-Clause "New" or "Revised" License
184 stars 57 forks source link

<cstddef> #42

Open JessicaMulein opened 4 years ago

JessicaMulein commented 4 years ago

I noticed on Mac OS with Clang at least that size_t is not defined without \<cstddef>. I have a wrapper that includes it and my compile is fine with that above the i2cdriver.h include. I don't know how multi-platform that is/any implications, but I think you might be missing a \<cstddef> in the .h file that you get lucky on depending on how you include?

Let me know if PEBKAC/ID10T