-I$(top_srcdir)/gmodule, fix from Michael Meeks
[platform/upstream/glib.git] / gcompletion.h
index 6ad6533..d5fca3f 100644 (file)
 #define __G_COMPLETION_H__
 
 #include <glist.h>
+#include <stddef.h>            /* For size_t */
+#ifdef G_OS_UNIX
 #include <unistd.h>
+#endif
 
 G_BEGIN_DECLS
 
@@ -39,7 +42,6 @@ typedef gchar*          (*GCompletionFunc)      (gpointer);
 /* GCompletion
  */
 
-typedef int (*GCompletionStrcmpFunc)(const char *s1, const char *s2);
 typedef int (*GCompletionStrncmpFunc)(const char *s1, const char *s2, size_t n);
 
 struct _GCompletion