# HG changeset patch # User tuomov # Date 1078939861 -3600 # Node ID df17024f1107a4a39d3910fc27200c5b39d46f9d # Parent 7a97a17698405479f7201b66d36ad60eb82d390d trunk: changeset 1374 Added include checks to rb header. diff -r 7a97a1769840 -r df17024f1107 rb.h --- a/rb.h Wed Mar 10 17:53:04 2004 +0100 +++ b/rb.h Wed Mar 10 18:31:01 2004 +0100 @@ -22,7 +22,10 @@ /* Original code by Jim Plank (plank@cs.utk.edu) */ /* modified for THINK C 6.0 for Macintosh by Chris Bartley */ - + +#ifndef LIBTU_RB_H +#define LIBTU_RB_H + typedef struct rb_status { unsigned red : 1 ; unsigned internal : 1 ; @@ -136,3 +139,4 @@ #define rb_traverse(ptr, lst) \ for(ptr = rb_first(lst); ptr != rb_nil(lst); ptr = rb_next(ptr)) +#endif /* LIBTU_RB_H */