* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/sysdep.h"
-#include "xbt/log_private.h"
+#include "src/xbt/log_private.h"
#ifdef HAVE_SMPI
-#include "smpi/private.h" // to access bench_begin/end. Not ultraclean, I confess
+#include "src/smpi/private.h" // to access bench_begin/end. Not ultraclean, I confess
#endif
#include <stdio.h>
fputs(str, d->file);
if(d->count<0){
fputs(APPEND2_END_TOKEN,d->file);
- fseek(d->file,-strlen(APPEND2_END_TOKEN),SEEK_CUR);
+ fseek(d->file,-((signed long)strlen(APPEND2_END_TOKEN)),SEEK_CUR);
}
}