Make this work on gcc2.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 22 Nov 2012 12:39:53 -0500
changeset 108 0a4566740a98
parent 107 cb7f86de285b
child 109 5b6da1d6be5a
Make this work on gcc2.
include/fatelf.h
--- a/include/fatelf.h	Wed Apr 13 21:47:30 2011 -0400
+++ b/include/fatelf.h	Thu Nov 22 12:39:53 2012 -0500
@@ -47,7 +47,7 @@
     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