projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: Include config.h globally trough DEFAULT_INCLUDES
[babeltrace.git]
/
converter
/
babeltrace-log.c
diff --git
a/converter/babeltrace-log.c
b/converter/babeltrace-log.c
index b724ccd67ebd5aecbb26d671d2e858e2d978b533..210bd09152a11b03907300c4c9b807abbad77983 100644
(file)
--- a/
converter/babeltrace-log.c
+++ b/
converter/babeltrace-log.c
@@
-28,13
+28,11
@@
* Depends on glibc 2.10 for getline().
*/
* Depends on glibc 2.10 for getline().
*/
-#define _GNU_SOURCE
-#include <config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
-#include <dirent.h>
+#include <
babeltrace/compat/
dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@
-415,7
+413,7
@@
int main(int argc, char **argv)
perror("opendir");
goto error_rmdir;
}
perror("opendir");
goto error_rmdir;
}
- dir_fd = dirfd(dir);
+ dir_fd =
bt_
dirfd(dir);
if (dir_fd < 0) {
perror("dirfd");
goto error_closedir;
if (dir_fd < 0) {
perror("dirfd");
goto error_closedir;
This page took
0.022898 seconds
and
4
git commands to generate.