diff --git a/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IO_MuonGrouping.h b/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IO_MuonGrouping.h
index f4bf9de812ac06560fa60546be18e92a9da7152b..2ab1b8280fbec7f801efe436bc570e4d865522ea 100644
--- a/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IO_MuonGrouping.h
+++ b/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IO_MuonGrouping.h
@@ -5,8 +5,9 @@
 // Includes
 //----------------------
 #include "ui_MuonAnalysis.h"
-#include "MantidQtCustomInterfaces/MuonAnalysis.h"
 #include "MantidQtAPI/UserSubWindow.h"
+#include "MantidQtCustomInterfaces/MuonAnalysis.h"
+#include "MantidQtCustomInterfaces/DllConfig.h"
 
 #include "MantidQtMantidWidgets/pythonCalc.h"
 #include "MantidQtMantidWidgets/MWRunFiles.h"
@@ -68,36 +69,36 @@ typedef struct {
 } Grouping;
 
 /// Saves grouping to the XML file specified
-void MANTIDQT_CUSTOMINTERFACES_DLL 
-  saveGroupingToXML(const Grouping& grouping, const std::string& filename);
+void MANTIDQT_CUSTOMINTERFACES_DLL saveGroupingToXML(const Grouping& grouping, 
+  const std::string& filename);
 
 /// Loads grouping from the XML file specified
-void MANTIDQT_CUSTOMINTERFACES_DLL 
-  loadGroupingFromXML(const std::string& filename, Grouping& grouping);
+void MANTIDQT_CUSTOMINTERFACES_DLL loadGroupingFromXML(const std::string& filename, 
+  Grouping& grouping);
 
 /// Parses information from the grouping table and saves to Grouping struct
-void MANTIDQT_CUSTOMINTERFACES_DLL 
-  parseGroupingTable(const Ui::MuonAnalysis& form, Grouping& grouping);
+void MANTIDQT_CUSTOMINTERFACES_DLL parseGroupingTable(const Ui::MuonAnalysis& form, 
+  Grouping& grouping);
 
 /// Fills in the grouping table using information from provided Grouping struct
-void MANTIDQT_CUSTOMINTERFACES_DLL 
-  fillGroupingTable(const Grouping& grouping, Ui::MuonAnalysis& form);
+void MANTIDQT_CUSTOMINTERFACES_DLL fillGroupingTable(const Grouping& grouping, 
+  Ui::MuonAnalysis& form);
 
 /// Groups the workspace according to grouping provided
-MatrixWorkspace_sptr MANTIDQT_CUSTOMINTERFACES_DLL 
-  groupWorkspace(MatrixWorkspace_const_sptr ws, const Grouping& g);
+MatrixWorkspace_sptr MANTIDQT_CUSTOMINTERFACES_DLL groupWorkspace(MatrixWorkspace_const_sptr ws, 
+  const Grouping& g);
 
 /// create 'map' relating group number to row number in group table
-void MANTIDQT_CUSTOMINTERFACES_DLL 
-  whichGroupToWhichRow(const Ui::MuonAnalysis& m_uiForm, std::vector<int>& groupToRow);
+void MANTIDQT_CUSTOMINTERFACES_DLL whichGroupToWhichRow(const Ui::MuonAnalysis& m_uiForm, 
+  std::vector<int>& groupToRow);
 
 /// create 'map' relating pair number to row number in pair table
-void MANTIDQT_CUSTOMINTERFACES_DLL 
-  whichPairToWhichRow(const Ui::MuonAnalysis& m_uiForm, std::vector<int>& pairToRow);
+void MANTIDQT_CUSTOMINTERFACES_DLL whichPairToWhichRow(const Ui::MuonAnalysis& m_uiForm, 
+  std::vector<int>& pairToRow);
 
 /// Set Group / Group Pair name
-void MANTIDQT_CUSTOMINTERFACES_DLL 
-  setGroupGroupPair(Ui::MuonAnalysis& m_uiForm, const std::string& name);
+void MANTIDQT_CUSTOMINTERFACES_DLL setGroupGroupPair(Ui::MuonAnalysis& m_uiForm, 
+  const std::string& name);
 
 }
 }