Fix dependencies on config.h for typedefs.h
[alexxy/gromacs.git] / src / gromacs / legacyheaders / pmalloc_cuda.h
index b35a56c559ba4a5663ac22c204c1ef8ce0db82e9..d00179a4ad11f46e552df6ab96084e639c8d1906 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 #ifndef PMALLOC_CUDA_H
 #define PMALLOC_CUDA_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <stdlib.h>
 #include "types/simple.h"
 
 #ifdef GMX_GPU