#include <assert.h>
#include "mpitest.h"
-#ifdef HAVE_UNISTD_H
+#if HAVE_UNISTD_H
#include <unistd.h>
#endif
/* Free all the elements in the list */
for (; my_elems_count > 0; my_elems_count--)
MPI_Free_mem(my_elems[my_elems_count - 1]);
+ free(my_elems);
MPI_Finalize();
return 0;