Commit 199f543a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include <stddef.h> (if it exists) and <sys/types.h> to get size_t.

parent 67696234
/*
* $Id: memcmp.c,v 1.1 1996/08/03 21:04:02 ceder Exp $
* $Id: memcmp.c,v 1.2 1996/08/03 21:45:02 ceder Exp $
* Copyright (C) 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,10 +23,14 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
static char *rcsid = "$Id: memcmp.c,v 1.1 1996/08/03 21:04:02 ceder Exp $";
static char *rcsid = "$Id: memcmp.c,v 1.2 1996/08/03 21:45:02 ceder Exp $";
#include "rcs.h"
USE(rcsid);
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#endif
#include <sys/types.h>
int
memcmp (const void * s1, const void * s2, size_t n)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment