Skip to content

Commit

Permalink
fix to get fileno defintion properly included on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed Dec 2, 2024
1 parent a4d96ea commit c5a9d1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/get_title.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
// Author: [email protected] (Jonathan Tang)
//
// Retrieves the title of a page.
#ifdef __GNUC__
#define _POSIX_C_SOURCE 1
#endif

#include <assert.h>
#include <stdio.h>
Expand Down

0 comments on commit c5a9d1b

Please sign in to comment.