diff --git a/doc/examples/avio_list_dir.c b/doc/examples/avio_list_dir.c
index 37b80c58c5..281b5af209 100644
--- a/doc/examples/avio_list_dir.c
+++ b/doc/examples/avio_list_dir.c
@@ -41,6 +41,12 @@ static const char *type_string(int type)
return "";
case AVIO_ENTRY_SOCKET:
return "";
+ case AVIO_ENTRY_SERVER:
+ return "";
+ case AVIO_ENTRY_SHARE:
+ return "";
+ case AVIO_ENTRY_WORKGROUP:
+ return "";
case AVIO_ENTRY_UNKNOWN:
default:
break;