1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-22 20:36:01 +01:00

removed malloc.h

This commit is contained in:
Anthony Scemama 2021-05-12 23:51:59 +02:00
parent bf11388be8
commit e65fa310d3
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ AC_SUBST([HAS_CPPCHECK])
AC_FC_LIBRARY_LDFLAGS AC_FC_LIBRARY_LDFLAGS
AC_CHECK_LIB([m], [sqrt]) AC_CHECK_LIB([m], [sqrt])
AC_CHECK_HEADERS([assert.h errno.h malloc.h math.h pthread.h stdbool.h stdint.h stdio.h stdlib.h string.h]) AC_CHECK_HEADERS([assert.h errno.h math.h pthread.h stdbool.h stdint.h stdio.h stdlib.h string.h])
## pthread ## pthread
AC_CHECK_LIB([pthread], [pthread_create]) AC_CHECK_LIB([pthread], [pthread_create])

View File

@ -46,7 +46,7 @@ int main() {
#define QMCKL_MEMORY_HPT #define QMCKL_MEMORY_HPT
#include <stdint.h> #include <stdint.h>
#include <malloc.h> #include <stdlib.h>
#+end_src #+end_src
* Memory data structure for the context * Memory data structure for the context