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/userdb.c | |
| 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/userdb.c')
| -rw-r--r-- | src/userdb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/userdb.c b/src/userdb.c index 101b6d0..0a13319 100644 --- a/src/userdb.c +++ b/src/userdb.c @@ -19,9 +19,12 @@ #include "globals.h" #include "client.h" +#include "client_reqs.h" #include "hash.h" #include "multimap.h" +#include "obj.h" #include "server.h" +#include "server_reqs.h" #include "userdb.h" static void *map = NULL; @@ -229,7 +232,7 @@ void userdb_dump(void) while(iter) { struct object_t *obj = iter->val; - debugf(" - Obj #%lu class %s: name %s\n", obj->id, obj->class->class_name, obj->name); + debugf(" - Obj #%"PRI_OBJID" class %s: name %s\n", obj->id, obj->class->class_name, obj->name); iter = iter->next; } } |