summaryrefslogtreecommitdiff
path: root/debug/netsurfd.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-07-28 23:13:39 +0000
committerJames Bursa <james@netsurf-browser.org>2004-07-28 23:13:39 +0000
commit233f6cc3dd271799860de936fb0c2916aa260349 (patch)
tree481b34173b0744ba62f3dfaa97a60b94cd9561d4 /debug/netsurfd.c
parent0af740f147dc90dc9f8a21d3bc27b64b124ced82 (diff)
downloadnetsurf-233f6cc3dd271799860de936fb0c2916aa260349.tar.gz
netsurf-233f6cc3dd271799860de936fb0c2916aa260349.tar.bz2
[project @ 2004-07-28 23:13:39 by bursa]
Make debug build compile again. svn path=/import/netsurf/; revision=1160
Diffstat (limited to 'debug/netsurfd.c')
-rw-r--r--debug/netsurfd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/debug/netsurfd.c b/debug/netsurfd.c
index c539e2df0..77f7a3489 100644
--- a/debug/netsurfd.c
+++ b/debug/netsurfd.c
@@ -8,6 +8,7 @@
#include <assert.h>
#include <stdbool.h>
#include <string.h>
+#include <time.h>
#include "netsurf/utils/config.h"
#include "netsurf/content/fetch.h"
#include "netsurf/content/content.h"
@@ -79,6 +80,8 @@ int main(int argc, char *argv[])
css_dump_stylesheet(c->data.css.css);
else if (c->type == CONTENT_GIF)
gif_decode_frame(c->data.gif.gif, 0);
+ /*else if (c->type == CONTENT_MNG)
+ nsmng_animate(c);*/
content_remove_user(c, callback, 0, 0);
c = 0;
}
@@ -237,3 +240,9 @@ void warn_user(const char *warning, const char *detail)
}
void *ro_gui_current_redraw_gui = 0;
+
+os_error *xos_read_monotonic_time (os_t *t)
+{
+ *t = clock() / 1000;
+ return 0;
+}