diff --git a/client/insert_test.c b/client/insert_test.c
index fb4890faf73bb3ad44ddf9776ef5c72eb28b5816..42691df68755f030878eed18dd152cc01914c85d 100644
--- a/client/insert_test.c
+++ b/client/insert_test.c
@@ -16,7 +16,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <my_global.h>
 #include "mysql.h"
 
 #define INSERT_QUERY "insert into test (name,num) values ('item %d', %d)"
diff --git a/client/select_test.c b/client/select_test.c
index d7f18c0f1f0ebdb14479fd9fef8182cbfbdd7b8c..ee2a91928655ba08798af896de034a979429163f 100644
--- a/client/select_test.c
+++ b/client/select_test.c
@@ -19,7 +19,6 @@
 #endif
 #include <stdio.h>
 #include <stdlib.h>
-#include "my_global.h"
 #include "mysql.h"
 
 #define SELECT_QUERY "select name from test where num = %d"
diff --git a/include/my_list.h b/include/my_list.h
index 0f56d4c532bd87a3ebeff069afb092d600966035..056e1f13b369fecf6c99105049bc735f958ce77e 100644
--- a/include/my_list.h
+++ b/include/my_list.h
@@ -32,7 +32,7 @@ extern LIST *list_add(LIST *root,LIST *element);
 extern LIST *list_delete(LIST *root,LIST *element);
 extern LIST *list_cons(void *data,LIST *root);
 extern LIST *list_reverse(LIST *root);
-extern void list_free(LIST *root,pbool free_data);
+extern void list_free(LIST *root,uint free_data);
 extern uint list_length(LIST *list);
 extern int list_walk(LIST *list,list_walk_action action,gptr argument);
 
diff --git a/mysys/list.c b/mysys/list.c
index ac9e1b979a09dd68f78929fb719cfdf2cfd38850..17028e8e183552eda2988bd088966d117edd44d9 100644
--- a/mysys/list.c
+++ b/mysys/list.c
@@ -55,7 +55,7 @@ LIST *list_delete(LIST *root, LIST *element)
 }
 
 
-void list_free(LIST *root, pbool free_data)
+void list_free(LIST *root, uint free_data)
 {
   LIST *next;
   while (root)