mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 01:48:53 +02:00
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.
This commit is contained in:
committed by
Tor Lillqvist
parent
04bc211e6c
commit
f8b6715ab1
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user