X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fcompat%2Ffcntl.h;h=ae76e61e3155a6aba5cd72c9cb1c66e6d756ffb6;hb=24847fc77f9f6ccf2acc20141b4240a53903c08d;hp=c5289430106f2d2df10c898e357a42020239209f;hpb=c522f726d04ae46455b371722a58e00f3fb97ddc;p=babeltrace.git diff --git a/src/compat/fcntl.h b/src/compat/fcntl.h index c5289430..ae76e61e 100644 --- a/src/compat/fcntl.h +++ b/src/compat/fcntl.h @@ -25,6 +25,8 @@ * SOFTWARE. */ +#include "common/common.h" + #ifdef BABELTRACE_HAVE_POSIX_FALLOCATE #include @@ -122,7 +124,7 @@ restore: /* Restore the original file pointer position */ if (!SetFilePointerEx(handle, file_pos, NULL, FILE_BEGIN)) { /* We moved the file pointer but failed to restore it. */ - abort(); + bt_common_abort(); } end: