Clean up includes.

2006-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gmodule.c: Clean up includes.
This commit is contained in:
Matthias Clasen 2006-12-28 05:02:30 +00:00 committed by Matthias Clasen
parent 98d552e0cd
commit 08e5183b36
2 changed files with 20 additions and 16 deletions

View File

@ -1,3 +1,7 @@
2006-12-28 Matthias Clasen <mclasen@redhat.com>
* gmodule.c: Clean up includes.
2006-12-13 Matthias Clasen <mclasen@redhat.com> 2006-12-13 Matthias Clasen <mclasen@redhat.com>
* gmodule.c (g_module_open): * gmodule.c (g_module_open):

View File

@ -28,24 +28,24 @@
* MT safe * MT safe
*/ */
#ifdef HAVE_CONFIG_H #include <config.h>
# include <config.h>
#endif
#include "gstdio.h"
#include "gmodule.h"
#include "gmoduleconf.h"
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> #include <unistd.h>
#endif #endif
#if defined (G_OS_WIN32) #if defined (G_OS_WIN32)
# include <io.h> /* For open() and close() prototypes. */ #include <io.h> /* For open() and close() prototypes. */
#endif #endif
#include "gstdio.h"
#include "gmodule.h"
#include "gmoduleconf.h"
/* We maintain a list of modules, so we can reference count them. /* We maintain a list of modules, so we can reference count them.
* That's needed because some platforms don't support refernce counts on * That's needed because some platforms don't support refernce counts on
* modules e.g. the shl_* implementation of HP-UX * modules e.g. the shl_* implementation of HP-UX