Skip to content

Commit

Permalink
Merge pull request jarikomppa#302 from ligfx/remove_malloc_h
Browse files Browse the repository at this point in the history
Fix macOS build: Replace malloc.h include with stdlib.h
  • Loading branch information
jarikomppa authored Jun 17, 2021
2 parents 3346bbc + 178456d commit 20d7b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/audiosource/ay/chipplayer.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
#include <malloc.h>
#include "chipplayer.h"
#include "soloud_file.h"
#include "soloud_ay.h"
Expand Down
4 changes: 2 additions & 2 deletions src/audiosource/ay/sndbuffer.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "sndbuffer.h"
#include "sndrender.h"

#include "malloc.h"
#include "memory.h"
#include <stdlib.h>
#include <memory.h>

SNDBUFFER::SNDBUFFER(unsigned aSize) {
read_position = 0;
Expand Down

0 comments on commit 20d7b76

Please sign in to comment.