X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=compat%2Fmemrchr.c;h=34d82712c2f5a5d2cc34934884b72debb092b098;hb=e8db7f6eea9b35527ddd4532affabd18a30549b5;hp=0b1e3a59586df9703c0af91f84777253fa477742;hpb=98b9fd63cd28a3636a7cd24641b8f497eaadcd50;p=debian%2Fsudo diff --git a/compat/memrchr.c b/compat/memrchr.c index 0b1e3a5..34d8271 100644 --- a/compat/memrchr.c +++ b/compat/memrchr.c @@ -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 */