mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-04-27 10:20:49 +00:00
Fix -Werror=implicit-function-declaration
unistd.h is needed for write, close and read
This commit is contained in:
parent
ae466d2b3b
commit
d78aede0e4
@ -4,6 +4,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef WIN32
|
||||
|
@ -4,6 +4,8 @@
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
|
||||
GType test_object_get_type (void);
|
||||
|
||||
#define TEST_OBJECT_TYPE (test_object_get_type())
|
||||
#define TEST_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEST_OBJECT_TYPE, TestObject))
|
||||
#define IS_TEST_OBJCET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TEST_OBJCET_TYPE))
|
||||
|
Loading…
Reference in New Issue
Block a user