Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / utility / smalloc.h
index ea91947cf738910e83a4f5aa200f514272156a5c..74d71a558642b28d2863554eec754883e0e0d723 100644 (file)
@@ -73,7 +73,7 @@
 
 #include <stddef.h>
 
-#include "basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -330,6 +330,10 @@ void gmx_snew_aligned_impl(const char *name, const char *file, int line,
 
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*! \brief
  * Frees memory referenced by \p ptr.
  *
@@ -388,4 +392,8 @@ int over_alloc_dd(int n);
 /** Over allocation for large data types: complex structs */
 #define over_alloc_large(n) (int)(OVER_ALLOC_FAC*(n) + 1000)
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif