A number of headers include other mLib headers without #ifndef guards.
This will slow down compilation slightly on some (less sensible)
compilers.
/*----- Header files ------------------------------------------------------*/
-#include "dstr.h"
+#ifndef MLIB_DSTR_H
+# include "dstr.h"
+#endif
/*----- Data structures ---------------------------------------------------*/
/*----- Header files ------------------------------------------------------*/
-#include "dstr.h"
+#ifndef MLIB_DSTR_H
+# include "dstr.h"
+#endif
/*----- Data structures ---------------------------------------------------*/
# include <adns.h>
#endif
-#include "sel.h"
-#include "selbuf.h"
+#ifndef MLIB_SEL_H
+# include "sel.h"
+#endif
+
+#ifndef MLIB_SELBUF_H
+# include "selbuf.h"
+#endif
/*----- Data structures ---------------------------------------------------*/
/*----- Header files ------------------------------------------------------*/
-#include "dstr.h"
-#include "sub.h"
+#ifndef MLIB_DSTR_H
+# include "dstr.h"
+#endif
+
+#ifndef MLIB_SUB_H
+# include "sub.h"
+#endif
/*----- Data structures ---------------------------------------------------*/
/*----- Header files ------------------------------------------------------*/
-#include "dstr.h"
+#ifndef MLIB_DSTR_H
+# include "dstr.h"
+#endif
/*----- Data structures ---------------------------------------------------*/
#include <signal.h>
-#include "sel.h"
+#ifndef MLIB_SEL_H
+# include "sel.h"
+#endif
/*----- Data structures ---------------------------------------------------*/
#include <stddef.h>
-#include "bits.h"
-#include "dstr.h"
+#ifndef MLIB_BITS_H
+# include "bits.h"
+#endif
+
+#ifndef MLIB_DSTR_H
+# include "dstr.h"
+#endif
/*----- Magical numbers ---------------------------------------------------*/