Index: uspace/lib/c/generic/devman.c
===================================================================
--- uspace/lib/c/generic/devman.c	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/generic/devman.c	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -45,5 +45,4 @@
 #include <errno.h>
 #include <malloc.h>
-#include <stdbool.h>
 
 static FIBRIL_MUTEX_INITIALIZE(devman_driver_block_mutex);
Index: uspace/lib/c/include/adt/hash.h
===================================================================
--- uspace/lib/c/include/adt/hash.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/adt/hash.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -36,4 +36,5 @@
 
 #include <stdint.h>
+#include <sys/types.h>
 
 /** Produces a uniform hash affecting all output bits from the skewed input. */
Index: uspace/lib/c/include/atomicdflt.h
===================================================================
--- uspace/lib/c/include/atomicdflt.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/atomicdflt.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -40,5 +40,5 @@
 #endif
 
-#include <stdint.h>
+#include <libarch/types.h>
 #include <stdbool.h>
 
Index: uspace/lib/c/include/fibril.h
===================================================================
--- uspace/lib/c/include/fibril.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/fibril.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -37,4 +37,5 @@
 
 #include <libarch/fibril.h>
+#include <libarch/types.h>
 #include <adt/list.h>
 #include <libarch/tls.h>
Index: uspace/lib/c/include/inet/dhcp.h
===================================================================
--- uspace/lib/c/include/inet/dhcp.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/inet/dhcp.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -36,4 +36,5 @@
 #define LIBC_INET_DHCP_H_
 
+#include <libarch/types.h>
 
 extern int dhcp_init(void);
Index: uspace/lib/c/include/io/chargrid.h
===================================================================
--- uspace/lib/c/include/io/chargrid.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/io/chargrid.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -37,6 +37,7 @@
 #define LIBC_IO_CHARGRID_H_
 
+#include <io/charfield.h>
+#include <libarch/types.h>
 #include <stddef.h>
-#include <io/charfield.h>
 
 typedef enum {
Index: uspace/lib/c/include/io/pixelmap.h
===================================================================
--- uspace/lib/c/include/io/pixelmap.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/io/pixelmap.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -38,4 +38,6 @@
 #define LIBC_IO_PIXELMAP_H_
 
+#include <libarch/types.h>
+#include <stdbool.h>
 #include <stddef.h>
 #include <io/pixel.h>
Index: uspace/lib/c/include/io/pos_event.h
===================================================================
--- uspace/lib/c/include/io/pos_event.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/io/pos_event.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -37,4 +37,5 @@
 #define LIBC_IO_POS_EVENT_H_
 
+#include <libarch/types.h>
 
 typedef enum {
Index: uspace/lib/c/include/stdbool.h
===================================================================
--- uspace/lib/c/include/stdbool.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/stdbool.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -36,5 +36,4 @@
 #define LIBC_BOOL_H_
 
-#include <libarch/types.h>
 #include <abi/bool.h>
 
Index: uspace/lib/c/include/sysinfo.h
===================================================================
--- uspace/lib/c/include/sysinfo.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/c/include/sysinfo.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -36,4 +36,5 @@
 #define LIBC_SYSINFO_H_
 
+#include <libarch/types.h>
 #include <stddef.h>
 #include <stdbool.h>
Index: uspace/lib/draw/path.c
===================================================================
--- uspace/lib/draw/path.c	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/draw/path.c	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -35,5 +35,4 @@
 
 #include <assert.h>
-#include <stdbool.h>
 #include <malloc.h>
 
Index: uspace/lib/gui/window.c
===================================================================
--- uspace/lib/gui/window.c	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/gui/window.c	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -677,4 +677,25 @@
 }
 
+int window_set_caption(window_t *win, const char *caption)
+{
+	char *cap;
+	
+	if (caption == NULL) {
+		win->caption = NULL;
+	} else {
+		cap = str_dup(caption);
+		if (cap == NULL)
+			return ENOMEM;
+		free(win->caption);
+		win->caption = cap;
+	}
+	
+	win->is_focused = false;
+	handle_refresh(win);
+	
+	return EOK;
+}
+
+
 void window_refresh(window_t *win)
 {
Index: uspace/lib/gui/window.h
===================================================================
--- uspace/lib/gui/window.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/gui/window.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -77,4 +77,7 @@
     window_placement_flags_t);
 
+/** Change window caption. */
+extern int window_set_caption(window_t *, const char *);
+
 /**
  * Post refresh event into event loop. Widget tree is traversed and all widgets
Index: uspace/lib/hound/include/hound/client.h
===================================================================
--- uspace/lib/hound/include/hound/client.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/hound/include/hound/client.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -38,5 +38,4 @@
 
 #include <async.h>
-#include <stdbool.h>
 #include <pcm/format.h>
 #include <hound/protocol.h>
Index: uspace/lib/http/include/http/receive-buffer.h
===================================================================
--- uspace/lib/http/include/http/receive-buffer.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/http/include/http/receive-buffer.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -38,4 +38,5 @@
 
 #include <adt/list.h>
+#include <sys/types.h>
 
 /** Receive data.
Index: uspace/lib/nic/src/nic_rx_control.c
===================================================================
--- uspace/lib/nic/src/nic_rx_control.c	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/nic/src/nic_rx_control.c	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -38,5 +38,4 @@
 #include <assert.h>
 #include <stdlib.h>
-#include <stdbool.h>
 #include <errno.h>
 #include <mem.h>
Index: uspace/lib/posix/source/stdio.c
===================================================================
--- uspace/lib/posix/source/stdio.c	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/posix/source/stdio.c	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -49,5 +49,4 @@
 #include "libc/stdio.h"
 #include "libc/io/printf_core.h"
-#include "libc/stdbool.h"
 #include "libc/str.h"
 #include "libc/malloc.h"
Index: uspace/lib/posix/source/time.c
===================================================================
--- uspace/lib/posix/source/time.c	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/posix/source/time.c	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -49,5 +49,4 @@
 #include "libc/task.h"
 #include "libc/stats.h"
-#include "libc/stdbool.h"
 #include "libc/stddef.h"
 #include "libc/sys/time.h"
Index: uspace/lib/softrend/filter.h
===================================================================
--- uspace/lib/softrend/filter.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/softrend/filter.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -37,5 +37,4 @@
 #define SOFTREND_FILTER_H_
 
-#include <stdbool.h>
 #include <io/pixelmap.h>
 
Index: uspace/lib/softrend/rectangle.h
===================================================================
--- uspace/lib/softrend/rectangle.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/softrend/rectangle.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -38,4 +38,5 @@
 
 #include <stdbool.h>
+#include <sys/types.h>
 
 extern bool rectangle_intersect(
Index: uspace/lib/usb/include/usb/usb.h
===================================================================
--- uspace/lib/usb/include/usb/usb.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/usb/include/usb/usb.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -35,7 +35,8 @@
 #define LIBUSB_USB_H_
 
+#include <byteorder.h>
 #include <stdbool.h>
 #include <stdint.h>
-#include <byteorder.h>
+#include <sys/types.h>
 
 /** Convert 16bit value from native (host) endianness to USB endianness. */
Index: uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
===================================================================
--- uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h	(revision 1165a41982b3e702655a56bd998366ef0f55a919)
+++ uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h	(revision fb864d653f08c9c94bf26673eb5d1efd0c3e6f25)
@@ -41,5 +41,4 @@
 
 #include <assert.h>
-#include <stdbool.h>
 #include <stddef.h>
 #include <stdint.h>
