mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-06 06:37:31 +00:00
Don't make system headers depend on config.h
While building on an 32 bit intel platform, compilation of abipkgdiff.cc failed because fts.h wouldn't compile with the macro _FILE_OFFSET_BITS set to 64. That macro is set by config.h! The idea of this patch is to make config.h have an effect only on libabigail's own header files, not on system header files. * tools/abipkgdiff.cc: Include config.h after system headers and before libabigail's headers. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
8c51a89525
commit
778530eb0d
@ -56,9 +56,6 @@
|
||||
/// 4/ the reports are then emitted to standard output, always in the same
|
||||
/// order.
|
||||
|
||||
// For package configuration macros.
|
||||
#include "config.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
@ -73,6 +70,8 @@
|
||||
#include <elf.h>
|
||||
#include <elfutils/libdw.h>
|
||||
|
||||
// For package configuration macros.
|
||||
#include "config.h"
|
||||
#include "abg-workers.h"
|
||||
#include "abg-config.h"
|
||||
#include "abg-tools-utils.h"
|
||||
|
Loading…
Reference in New Issue
Block a user