Skip to content

Commit

Permalink
compat/compat.h: Add #include guards
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk committed Mar 20, 2011
1 parent 2cbe7c3 commit 4dde585
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compat/compat.h
@@ -1,7 +1,12 @@
#ifndef INC_BARNOWL_COMPAT_COMPAT_H
#define INC_BARNOWL_COMPAT_COMPAT_H

#include "../config.h"

#include <stddef.h>

#if !HAVE_DECL_MEMRCHR
void *memrchr(const void *s, int c, size_t n);
#endif /* !HAVE_DECL_MEMRCHR */

#endif /* INC_BARNOWL_COMPAT_COMPAT_H */

0 comments on commit 4dde585

Please sign in to comment.