]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
examples/svgtiny_display_x11.c: include the system copy of svgtiny.h master
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 6 Aug 2023 00:36:05 +0000 (20:36 -0400)
committerMichael Drake <tlsa@netsurf-browser.org>
Wed, 9 Aug 2023 20:16:41 +0000 (21:16 +0100)
commit9c76afd8afc61e8f2fe3a634d3110b786b43b58e
treedb56835742effa599b6d308dbbe6b671f99907fc
parent088329388d215b3476bc3178e3cdc0ffbb0e951a
examples/svgtiny_display_x11.c: include the system copy of svgtiny.h

The header of this file includes instructions for how to build it:

  Compile using:
    gcc -g -W -Wall -o svgtiny_display_x11 svgtiny_display_x11.c \
            `pkg-config --cflags --libs libsvgtiny cairo` -lX11

That pkg-config command will generate the flags to link against the
installed copy of libsvgtiny. The line,

  #include "svgtiny.h"

on the other hand, attempts to use a local header. This commit changes
that line to,

  #include <svgtiny.h>

which will use the corresponding system header from whatever include
directory pkg-config hands us for libsvgtiny.
examples/svgtiny_display_x11.c