Skip to content

Commit

Permalink
Explicitly include "stdlib.h" for malloc/free (#8).
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed Apr 23, 2018
1 parent cd8029a commit a237e50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/encoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include "config.h"
#endif

#include <stdlib.h>

#if defined(HAVE_STRINGS_H)
#include <strings.h>
#endif
Expand Down

0 comments on commit a237e50

Please sign in to comment.