hughperman / pure-lang

Automatically exported from code.google.com/p/pure-lang
0 stars 0 forks source link

pure-tk assumes there is a malloc.h #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. On Mac OS X, build pure-tk

What is the expected output? What do you see instead?
Expected successful build but got:

tk.c:6:20: error: malloc.h: No such file or directory

What version of the product are you using? On what operating system?
pure-tk 0.3, pure 0.47, Mac OS X 10.6.8, Xcode 3.2.6

Please provide any additional information below.
Mac OS X does not have a /usr/include/malloc.h; the malloc functions are in 
stdlib.h, which tk.c already includes; simply removing the "#include 
<malloc.h>" line allowed pure-tk to build.

Original issue reported on code.google.com by ryandesi...@gmail.com on 15 Sep 2011 at 11:50

GoogleCodeExporter commented 8 years ago
Fixed in rev. ce57f6fa6dfb. Thanks!

Original comment by aggraef@gmail.com on 15 Sep 2011 at 2:02