diff --git a/examples/get_title.c b/examples/get_title.c index e6dcdec..99545ec 100644 --- a/examples/get_title.c +++ b/examples/get_title.c @@ -15,6 +15,9 @@ // Author: jdtang@google.com (Jonathan Tang) // // Retrieves the title of a page. +#ifdef __GNUC__ +#define _POSIX_C_SOURCE 1 +#endif #include #include