--- embedaddon/sudo/compat/memrchr.c 2012/02/21 16:23:02 1.1.1.1 +++ embedaddon/sudo/compat/memrchr.c 2013/07/22 10:46:11 1.1.1.2 @@ -1,5 +1,6 @@ /* - * Copyright (c) 2007, 2010-2011 Todd C. Miller + * Copyright (c) 2007, 2010-2011, 2013 + * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -16,6 +17,8 @@ #include +#ifndef HAVE_MEMRCHR + #include #include "missing.h" @@ -38,3 +41,4 @@ memrchr(const void *s, int c, size_t n) } return (void *)0; } +#endif /* HAVE_MEMRCHR */