mirror of
https://github.com/slicer69/doas
synced 2024-09-06 16:35:54 +00:00
Merge pull request #10 from tuxillo/patch-2
Fix build for DragonFly BSD
This commit is contained in:
commit
fb1108b586
3
env.c
3
env.c
|
@ -49,6 +49,9 @@ envcmp(struct envnode *a, struct envnode *b)
|
||||||
{
|
{
|
||||||
return strcmp(a->key, b->key);
|
return strcmp(a->key, b->key);
|
||||||
}
|
}
|
||||||
|
#ifdef __DragonFly__
|
||||||
|
RB_PROTOTYPE_STATIC(envtree, envnode, node, envcmp);
|
||||||
|
#endif
|
||||||
RB_GENERATE_STATIC(envtree, envnode, node, envcmp)
|
RB_GENERATE_STATIC(envtree, envnode, node, envcmp)
|
||||||
|
|
||||||
struct env *createenv(char **);
|
struct env *createenv(char **);
|
||||||
|
|
Loading…
Reference in a new issue