diff options
Diffstat (limited to 'src/apk_solver_data.h')
-rw-r--r-- | src/apk_solver_data.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/apk_solver_data.h b/src/apk_solver_data.h index cf7a3bd..7853af5 100644 --- a/src/apk_solver_data.h +++ b/src/apk_solver_data.h @@ -17,10 +17,17 @@ #include "apk_provider_data.h" struct apk_solver_name_state { - struct list_head dirty_list; - struct list_head unresolved_list; struct apk_provider chosen; - + union { + struct { + struct list_head dirty_list; + struct list_head unresolved_list; + }; + struct { + struct apk_name *installed_name; + struct apk_package *installed_pkg; + }; + }; unsigned short requirers; unsigned short merge_depends; unsigned short merge_provides; |