diff --git a/gcc/cobol/parse.y b/gcc/cobol/parse.y
index 4127aaefb6d5daac47095f1f1fde67bb03664175..747448baa539408a75c073221b9dfcc53fc6d7d1 100644
--- a/gcc/cobol/parse.y
+++ b/gcc/cobol/parse.y
@@ -286,6 +286,8 @@
 #include "genapi.h"
 #include "io.h"
 #include "ec.h"
+#include "exceptl.h"
+#include "exceptg.h"
 #include "parse_ante.h"
 %}
 
diff --git a/gcc/cobol/parse_ante.h b/gcc/cobol/parse_ante.h
index fec97c23464f38ce33bedc1a8f8233b7091b4e6a..a431c21d99c86c7e8567808859bbd25ff5a031ff 100644
--- a/gcc/cobol/parse_ante.h
+++ b/gcc/cobol/parse_ante.h
@@ -39,9 +39,6 @@
 #include <stack>
 #include <string>
 
-#include "exceptl.h"
-#include "exceptg.h"
-
 #define MAXLENGTH_FORMATTED_DATE     10
 #define MAXLENGTH_FORMATTED_TIME     19
 #define MAXLENGTH_FORMATTED_DATETIME 30