summary refs log tree commit diff stats
path: root/chardev/char-ringbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/char-ringbuf.c')
-rw-r--r--chardev/char-ringbuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/chardev/char-ringbuf.c b/chardev/char-ringbuf.c
index df52b04d22..c1fa4c3f87 100644
--- a/chardev/char-ringbuf.c
+++ b/chardev/char-ringbuf.c
@@ -21,9 +21,11 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #include "qemu/osdep.h"
 #include "chardev/char.h"
 #include "qmp-commands.h"
+#include "qapi/error.h"
 #include "qemu/base64.h"
 
 /* Ring buffer chardev */