Replace deprecated luaL_openlib() by luaL_register()
[apps/madmutt.git] / sort.h
diff --git a/sort.h b/sort.h
index 76cd39d..d4f9241 100644 (file)
--- a/sort.h
+++ b/sort.h
@@ -7,6 +7,9 @@
  * please see the file GPL in the top level source directory.
  */
 
+#ifndef MUTT_SORT_H
+#define MUTT_SORT_H
+
 #define SORT_DATE      1       /* the date the mail was sent. */
 #define SORT_SIZE      2
 #define SORT_SUBJECT   3
@@ -42,5 +45,6 @@ WHERE short SortAlias INITVAL (SORT_ALIAS);
 /* FIXME: This one does not belong to here */
 WHERE short PgpSortKeys INITVAL (SORT_ADDRESS);
 
-#include "mapping.h"
 extern const struct mapping_t SortMethods[];
+
+#endif