qapi/qmp-registry.c: Include headers it needs
Include: - <glib.h> for g_malloc0() - <string.h> for strcmp() Some of those headers were probably being included by accident because some other headers were including qemu-common.h, but those headers should eventually stop including qemu-common.h. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
		
							parent
							
								
									90f0cfa410
								
							
						
					
					
						commit
						ccff63cac4
					
				| 
						 | 
				
			
			@ -12,6 +12,8 @@
 | 
			
		|||
 *
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <glib.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include "qapi/qmp-core.h"
 | 
			
		||||
 | 
			
		||||
static QTAILQ_HEAD(QmpCommandList, QmpCommand) qmp_commands =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue