wizzmilk / mist-board

Automatically exported from code.google.com/p/mist-board
0 stars 0 forks source link

mkupg.c cannot compile on Mac OS X #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile the firmware on Mac OS X

The result is an error:
mkupg.c:3:10: fatal error: 'malloc.h' file not found

To fix this, include <stdlib.h> instead of <malloc.h>. In standard C, 
<stdlib.h> should be included to define malloc and friends.

Original issue reported on code.google.com by cso...@gmail.com on 20 Nov 2014 at 9:06

GoogleCodeExporter commented 8 years ago
fixed

Original comment by till.harbaum on 25 Mar 2015 at 8:51