Fix malloc include.

This commit is contained in:
2022-10-03 18:15:13 +01:00
parent 8a9a5a6eb5
commit 5dab1b937f
7 changed files with 7 additions and 7 deletions

View File

@@ -98,7 +98,7 @@ add_library(aaruformat SHARED include/aaruformat/consts.h include/aaruformat/enu
src/close.c include/aaruformat/errors.h src/read.c include/aaruformat/crc64.h src/cst.c src/ecc_cd.c src/helpers.c
src/simd.c include/aaruformat/simd.h src/crc64/crc64.c src/crc64/crc64_clmul.c src/crc64/crc64_vmull.c
src/crc64/arm_vmull.c src/crc64/arm_vmull.h src/spamsum.c include/aaruformat/spamsum.h include/aaruformat/flac.h
src/flac.c src/lzma.c src/lru.c include/aaruformat/lru.h)
src/flac.c src/lzma.c src/lru.c include/aaruformat/lru.h include/aaruformat/endian.h)
include_directories(include include/aaruformat)

View File

@@ -200,7 +200,7 @@ AARU_EXPORT int have_neon();
AARU_EXPORT int have_arm_crc32();
AARU_EXPORT int have_arm_crypto();
AARU_EXPORT TARGET_WITH_SIMD uint64_t AARU_CALL crc64_vmull(uint64_t previous_crc, const uint8_t* data, long len);
AARU_EXPORT TARGET_WITH_SIMD uint64_t AARU_CALL aaruf_crc64_vmull(uint64_t previous_crc, const uint8_t* data, long len);
#endif
#endif // LIBAARUFORMAT_DECLS_H

View File

@@ -17,8 +17,8 @@
*/
#include <errno.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef __linux__
#include <sys/mman.h>

View File

@@ -16,8 +16,8 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <malloc.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <aaruformat.h>

View File

@@ -17,9 +17,9 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <malloc.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <aaruformat.h>

View File

@@ -18,8 +18,8 @@
#include <errno.h>
#include <inttypes.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef __linux__

View File

@@ -16,7 +16,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <aaruformat.h>