Skip to content

Commit

Permalink
remove explicit path to bson.h
Browse files Browse the repository at this point in the history
pkg-config is used in configure script to detect libbson library and to
set correct compiler flags.  Allow that to determine the headers paths.

Fixes #375
  • Loading branch information
slazav authored and ThomasAdam committed Dec 22, 2020
1 parent 620cf57 commit b3381a6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions fvwm/builtins.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
#ifndef FVWM_BUILTINS_H
#define FVWM_BUILTINS_H

#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun__)
#include <libbson-1.0/bson.h>
#else
#include <bson/bson.h>
#endif

#include <bson.h>
#include "fvwm.h"
#include "screen.h"

Expand Down

0 comments on commit b3381a6

Please sign in to comment.