changeset 57:2d2e2594e60f HEAD

config.h should be included first.
author Timo Sirainen <tss@iki.fi>
date Wed, 28 Aug 2002 03:11:32 +0300
parents 62fc6c729962
children 8aaa39e7aec8
files src/lib/lib.h
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/lib.h	Wed Aug 28 02:39:53 2002 +0300
+++ b/src/lib/lib.h	Wed Aug 28 03:11:32 2002 +0300
@@ -1,6 +1,11 @@
 #ifndef __LIB_H
 #define __LIB_H
 
+/* default lib includes */
+#ifdef HAVE_CONFIG_H
+#  include "../../config.h"
+#endif
+
 /* default system includes - keep these at minimum.. */
 #include <string.h> /* strcmp() etc. */
 #include <stdarg.h> /* va_list is used everywhere */
@@ -16,11 +21,6 @@
 typedef struct _IOBuffer IOBuffer;
 typedef struct _TempString TempString;
 
-/* default lib includes */
-#ifdef HAVE_CONFIG_H
-#  include "../../config.h"
-#endif
-
 #if defined (UOFF_T_INT)
 typedef unsigned int uoff_t;
 #elif defined (UOFF_T_LONG)