diff lib/xalloc.h @ 4347:df44e79ce676

.h files should stand alone, but we shouldn't include <sys/types.h> if we can get away with just <stddef.h>.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 04 Jun 2003 19:22:29 +0000
parents 9a8154387249
children c6450308f123
line wrap: on
line diff
--- a/lib/xalloc.h
+++ b/lib/xalloc.h
@@ -18,6 +18,8 @@
 #ifndef XALLOC_H_
 # define XALLOC_H_
 
+# include <stddef.h>
+
 # ifndef PARAMS
 #  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
 #   define PARAMS(Args) Args