mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 00:27:39 +01:00
Fix header inclusion order in `src/elfxx.c'
Make sure that we have included `config.h' before checking HAVE_LZMA. This makes a difference at least on MIPS, where we include `elfxx.c' directly. For other platforms this does not make much difference, as we are already indirectly including `config.h' from other headers.
This commit is contained in:
parent
cb3fbbb172
commit
96c1bca2b0
1 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,8 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
|
||||
#include "libunwind_i.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
|
@ -31,8 +33,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
#include <lzma.h>
|
||||
#endif /* HAVE_LZMA */
|
||||
|
||||
#include "libunwind_i.h"
|
||||
|
||||
static Elf_W (Shdr)*
|
||||
elf_w (section_table) (struct elf_image *ei)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue