diff lib/dirname.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 cb4b1284059f
children c6450308f123
line wrap: on
line diff
--- a/lib/dirname.h
+++ b/lib/dirname.h
@@ -17,6 +17,8 @@
 #ifndef DIRNAME_H_
 # define DIRNAME_H_ 1
 
+# include <stddef.h>
+
 # ifndef PARAMS
 #  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
 #   define PARAMS(Args) Args