* hosts/std-host.h (offsetof): Define, if not already, for archive.c.

This commit is contained in:
John Gilmore 1993-09-14 04:15:23 +00:00
parent b5b4294e65
commit f26a0e9bcf

View File

@ -89,6 +89,11 @@ extern int unlink();
#define BYTES_IN_PRINTF_INT 4
#endif
/* From ANSI C <stddef.h>, which we can't depend upon the existence of */
#ifndef offsetof
#define offsetof(type,memb) ((size_t)&(((type *)0)->memb))
#endif
#include "fopen-same.h"
#define hosts_std_host_H
#endif