@@ -44,12 +44,6 @@
# include <malloc.h>
#endif
-#if defined(HAVE_RX_H) && defined(HAVE_REGCOMP)
-# include <rx.h>
-#else
-# include "src/eregex.h"
-#endif
-
#include "src/global.h"
#include "src/tty.h"
#include "src/main.h" /* for char *shell */
@@ -1,5 +1,7 @@
2002-08-21 Pavel Roskin <proski@gnu.org>
+ * global.h: Move include for rx.h and eregex.h here.
+
* learn.c (learn_button): Don't allow Tab to be learned.
2002-08-20 David Martin <dmartina@excite.com>
@@ -46,12 +46,6 @@
#include "boxes.h"
#include "../vfs/vfs.h"
-# include "eregex.h"
/* Size of the find parameters window */
#define FIND_Y 14
static int FIND_X = 50;
@@ -83,6 +83,12 @@ struct timeval {
#include <glib.h>
+#if defined(HAVE_RX_H) && defined(HAVE_REGCOMP)
+#include <rx.h>
+#else
+#include "eregex.h"
+#endif
#ifndef __GNUC__
# define __attribute__(x)
@@ -36,12 +36,6 @@
#include <string.h>
#include <ctype.h>
-#include <rx.h>
-#include "eregex.h"
#include "global.h"
#include "profile.h"
#include "main.h" /* mc_home */
@@ -40,11 +40,6 @@
#include <ctype.h> /* For toupper() */
#include <errno.h>
#include <limits.h>
#include "tty.h"