*/
#include "gmxpre.h"
-#include "gromacs/utility/smalloc.h"
+#include "smalloc.h"
#include "config.h"
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
+#ifdef HAVE__ALIGNED_MALLOC
+#include <malloc.h>
+#endif
#include "thread_mpi/threads.h"
}
/* This routine can NOT be called with any pointer */
-void save_free_aligned(const char *name, const char *file, int line, void *ptr)
+void save_free_aligned(const char gmx_unused *name, const char gmx_unused *file, int gmx_unused line, void *ptr)
{
int i, j;
void *free = ptr;