diff --git a/src/msgs/build_file.epp b/src/msgs/build_file.epp index 93f0160832..5eda8649b6 100644 --- a/src/msgs/build_file.epp +++ b/src/msgs/build_file.epp @@ -34,7 +34,6 @@ #include "../jrd/ibase.h" #include "../yvalve/msg.h" #include "../yvalve/gds_proto.h" -#include "../common/os/os_utils.h" #ifdef HAVE_UNISTD_H #include @@ -337,7 +336,7 @@ static USHORT do_msgs( const TEXT* filename, const TEXT* locale, bool sw_warning // Open output file - global_file = os_utils::open(filename, O_WRONLY | O_CREAT | O_BINARY, 0666); + global_file = open(filename, O_WRONLY | O_CREAT | O_BINARY, 0666); if (global_file == -1) { printf("Can't open %s\n", filename); @@ -449,7 +448,7 @@ static USHORT do_msgs( const TEXT* filename, const TEXT* locale, bool sw_warning // Re-write header record and finish - os_utils::lseek(global_file, LSEEK_OFFSET_CAST 0, 0); + lseek(global_file, LSEEK_OFFSET_CAST 0, 0); FB_UNUSED(write(global_file, &header, sizeof(header))); close(global_file); global_file = -1;