Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / fileio / vmdio.c
index 63fe52f99dfc4334c42729128446a9869ada6641..621160a9e8f91fe49085b0e71be53b01d8c1eb43 100644 (file)
@@ -32,6 +32,8 @@
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
+#include "gmxpre.h"
+
 #include "vmdio.h"
 
 #include "config.h"
 /*                                                                           */
 /*****************************************************************************/
 
-#include <stdlib.h>
+#include <assert.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
-#include <assert.h>
 
 /*
  * Plugin header files; get plugin source from www.ks.uiuc.edu/Research/vmd"
 #ifndef GMX_NATIVE_WINDOWS
 #include <glob.h>
 #else
-#include <windows.h>
+#ifndef _WIN32_IE
+#define _WIN32_IE 0x0500 /* SHGetFolderPath is available since WinXP/IE5 */
+#endif
 #include <shlobj.h>
+#include <windows.h>
 #endif
 
 #include "gromacs/fileio/gmxfio.h"