diff --git a/gcc/cobol/lexio.cc b/gcc/cobol/lexio.cc
index 6ea1cea64ef7912cf6071f6f2a84c16ffd6a09a8..0c0a54dc1207ebc0c53450032efc04086552b473 100644
--- a/gcc/cobol/lexio.cc
+++ b/gcc/cobol/lexio.cc
@@ -28,11 +28,11 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "lexio.h"
 #include <ext/stdio_filebuf.h>
 #include "cobol-system.h"
 #include "copybook.h"
 #include "cbldiag.h"
+#include "lexio.h"
 
 extern int yy_flex_debug;
 
diff --git a/gcc/cobol/util.cc b/gcc/cobol/util.cc
index 314f29b7381bf39cd385067bbabea5df446762af..9e5c17c0d6cd52faca5f87522b9e2eeaa8e0eee0 100644
--- a/gcc/cobol/util.cc
+++ b/gcc/cobol/util.cc
@@ -32,14 +32,7 @@
  * This file supports parsing without requiring access to the symbol
  * table definition.  Unlike the Bison input, this file brings in gcc
  * header files.
- * 
- * The system.h file includes safe-ctype.h from libiberty, which
- * disables bog-standard functions like isdigit(3) on the grounds that
- * they may be affected by the locale.  We include lexio.h first, so
- * that it can use the standard functions.  The rest of util.cc uses
- * the libiberty uppercase replacements.
  */
-#include "lexio.h"
 
 #include "cobol-system.h"
 #include <langinfo.h>
@@ -58,6 +51,8 @@
 #include "selftest.h"
 #include "selftest-diagnostic.h"
 #include "opts.h"
+#include "lexio.h"
+
 
 #define HOWEVER_GCC_DEFINES_TREE
 #include "genapi.h"