1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-28 18:07:37 +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:
Tommi Rantala 2012-10-05 08:25:23 +03:00 committed by Arun Sharma
parent cb3fbbb172
commit 96c1bca2b0

View file

@ -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 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "libunwind_i.h"
#include <stdio.h> #include <stdio.h>
#include <sys/param.h> #include <sys/param.h>
@ -31,8 +33,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <lzma.h> #include <lzma.h>
#endif /* HAVE_LZMA */ #endif /* HAVE_LZMA */
#include "libunwind_i.h"
static Elf_W (Shdr)* static Elf_W (Shdr)*
elf_w (section_table) (struct elf_image *ei) elf_w (section_table) (struct elf_image *ei)
{ {