diff --git a/src/yaml_private.h b/src/yaml_private.h
index f72cbd4..b203093 100644
--- a/src/yaml_private.h
+++ b/src/yaml_private.h
@@ -1231,7 +1231,7 @@ typedef enum yaml_emitter_state_e {
  * The information of a node being emitted.
  */
 
-struct typedef yaml_node_data_s {
+typedef struct yaml_node_data_s {
     /* The node id. */
     int id;
     /* The collection iterator. */
