Ticket #9 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

pa_unix_oss.c FreeBSD header breakage

Reported by: rossb Owned by: aknudsen
Priority: major Milestone: V19-PREVIEW1
Component: host-api-oss Version:
Keywords: Cc:

Description

Diane Bruce writes: On FreeBSD stdlib.h is where definitions for malloc live. attached is a tiny patch, I doubt it is completely correct as it may depend on linux version.

Attachments

pa_unix_oss.c.diff (0.7 kB) - added by rossb 2 years ago.
diff submitted by Diane Bruce

Change History

Changed 2 years ago by rossb

diff submitted by Diane Bruce

Changed 2 years ago by aknudsen

  • owner changed from somebody to aknudsen
  • status changed from new to assigned

Is there any reason not to use <stdlib.h> on Linux as well? It seems that this is the correct header for malloc (and alloca??) on this platform too.

Changed 2 years ago by aknudsen

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.