mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-09-06 07:10:35 +00:00
Fix -Werror=implicit-function-declaration
unistd.h is needed for write, close and read
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user