diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-07-10 18:02:51 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-07-10 18:02:51 +0000 |
commit | f8b6715ab13c16a14ee37b582260f579d1cffbbb (patch) | |
tree | 3f13fb525e2a67dbb76bf68ff91d5254429132da /gobject/gobject-query.c | |
parent | 04bc211e6c4bba97d698268a62706681b8ab2bf7 (diff) | |
download | glib-f8b6715ab13c16a14ee37b582260f579d1cffbbb.tar.gz |
Include ../config.h for HAVE_UNISTD_H. Use it to guard inclusion of
2000-07-10 Tor Lillqvist <tml@iki.fi>
* gobject-query.c: Include ../config.h for HAVE_UNISTD_H. Use it
to guard inclusion of <unistd.h>.
* gtype.h: Fix copy-paste errors in the ifdefs on how to declare a
variable for export. Call the macro GOBJECT_VAR.
* gtype.c: Declare _g_type_fundamental_last for export here, too.
(type_node_any_new): Use only constant expressions for sizeof
operator (for instance MSVC requires this).
* makefile.mingw.in: Define GOBJECT_COMPILATION.
Diffstat (limited to 'gobject/gobject-query.c')
-rw-r--r-- | gobject/gobject-query.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gobject/gobject-query.c b/gobject/gobject-query.c index 6ee1b496f..b80709adc 100644 --- a/gobject/gobject-query.c +++ b/gobject/gobject-query.c @@ -16,11 +16,16 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ +#include "../config.h" + #include <glib-object.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <sys/stat.h> #include <fcntl.h> |