Skip to content

Commit

Permalink
Merge pull request #10 from tuxillo/patch-2
Browse files Browse the repository at this point in the history
Fix build for DragonFly BSD
  • Loading branch information
slicer69 authored Feb 15, 2017
2 parents a15e6ed + 89ef570 commit fb1108b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions env.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ envcmp(struct envnode *a, struct envnode *b)
{
return strcmp(a->key, b->key);
}
#ifdef __DragonFly__
RB_PROTOTYPE_STATIC(envtree, envnode, node, envcmp);
#endif
RB_GENERATE_STATIC(envtree, envnode, node, envcmp)

struct env *createenv(char **);
Expand Down

0 comments on commit fb1108b

Please sign in to comment.