bcl / digitemp

1-wire temperature sensor cmdline interface
GNU General Public License v2.0
37 stars 24 forks source link

FIX: compiling using musl fails due to missing sys/types.h inclusion #15

Closed cvbkf closed 8 years ago

cvbkf commented 8 years ago

compiling using musl (as used by OpenWRT) fails with the following error:

src/ds2438.c:29:4: error: unknown type name 'ushort' ushort lastcrc8=255;

fixed by inclusion of <sys/types.h> in every file that uses unsigned types.

bcl commented 8 years ago

I think #16 should fix this in a cleaner fashion, could you give it a try?

bcl commented 8 years ago

Fixed by #16