]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
types: Add is_default to struct boot_option
[petitboot] / lib / types / types.h
index 90b23c37a77446d0cda4b531869c6dee31eed343..5be2cb697597a3c12c177aea26644b67bc9e3dec 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _TYPES_H
 #define _TYPES_H
 
+#include <stdbool.h>
 #include <list/list.h>
 
 struct device {
@@ -24,6 +25,7 @@ struct boot_option {
        char            *boot_image_file;
        char            *initrd_file;
        char            *boot_args;
+       bool            is_default;
 
        struct list_item        list;