From 38813d874ea881720191e408898e288839894504 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 22 Nov 2012 12:39:53 -0500 Subject: [PATCH] Make this work on gcc2. --- include/fatelf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fatelf.h b/include/fatelf.h index 35d15eb..8dc4f5f 100644 --- a/include/fatelf.h +++ b/include/fatelf.h @@ -47,7 +47,7 @@ typedef struct FATELF_header uint16_t version; /* latest is always FATELF_FORMAT_VERSION */ uint8_t num_records; uint8_t reserved0; - FATELF_record records[]; + FATELF_record records[0]; /* this is actually num_records items. */ } FATELF_header; #endif