]> xenbits.xensource.com Git - libvirt.git/commitdiff
include virterror_internal.h in threads.h
authorHu Tao <hutao@cn.fujitsu.com>
Wed, 16 Jan 2013 02:53:05 +0000 (10:53 +0800)
committerEric Blake <eblake@redhat.com>
Thu, 17 Jan 2013 00:30:22 +0000 (17:30 -0700)
required by VIR_ONCE_GLOBAL_INIT using virSetError.

src/util/virthread.h

index b11a2515b21b5f7b16fbea1e3cb46865bc66e989..c2094406c0415e710b52029df09cecfeeb50680f 100644 (file)
@@ -23,6 +23,7 @@
 # define __THREADS_H_
 
 # include "internal.h"
+# include "virerror.h"
 
 typedef struct virMutex virMutex;
 typedef virMutex *virMutexPtr;