diff options
| author | Franklin Wei <git@fwei.tk> | 2016-03-28 14:11:22 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-03-31 17:09:36 -0400 |
| commit | ed95a5621ac9c4f5002e68a981f8b24d5caaedf4 (patch) | |
| tree | aee87cf74280e8f9dd29aca88d12a638f37b2493 /src/obj.h | |
| parent | 13052597a19fd2212efb7f51f19ed73b9f4b6ba4 (diff) | |
| download | netcosm-ed95a5621ac9c4f5002e68a981f8b24d5caaedf4.zip netcosm-ed95a5621ac9c4f5002e68a981f8b24d5caaedf4.tar.gz netcosm-ed95a5621ac9c4f5002e68a981f8b24d5caaedf4.tar.bz2 netcosm-ed95a5621ac9c4f5002e68a981f8b24d5caaedf4.tar.xz | |
kludge things to compile on old linux
Diffstat (limited to 'src/obj.h')
| -rw-r--r-- | src/obj.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,14 +21,13 @@ #include "globals.h" #include "room.h" +#include "server.h" /* Objects belong to an object class. Objects define their object * class through the class name, which is converted to a class ID * internally. */ -typedef struct child_data user_t; - struct object_t; struct obj_class_t { @@ -55,6 +54,8 @@ struct obj_class_t { typedef uint64_t obj_id; +#define PRI_OBJID PRId64 + struct obj_alias_t { char *alias; struct obj_alias_t *next; |