updated to 2.4.42
[profile/ivi/libdrm.git] / intel / test_decode.c
index d41b0b2..0fcdf3b 100644 (file)
@@ -21,6 +21,8 @@
  * IN THE SOFTWARE.
  */
 
+#define _GNU_SOURCE
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -144,6 +146,7 @@ infer_devid(const char *batch_filename)
                { "gen5", PCI_CHIP_ILD_G },
                { "gen6", PCI_CHIP_SANDYBRIDGE_GT2 },
                { "gen7", PCI_CHIP_IVYBRIDGE_GT2 },
+               { NULL, 0 },
        };
        int i;