$OpenBSD: patch-glib_gatomic_c,v 1.1 2010/10/10 10:52:04 kili Exp $ --- glib/gatomic.c.orig Thu Sep 23 17:26:45 2010 +++ glib/gatomic.c Sun Oct 10 11:50:01 2010 @@ -28,6 +28,7 @@ #endif #include "gatomic.h" +#include "gthread.h" #include "gthreadprivate.h" /**