summaryrefslogtreecommitdiff
path: root/lib/dirname.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-06-04 19:22:29 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2003-06-04 19:22:29 +0000
commit92295bc4b2a378893386efd3cf8cf9bc31024b59 (patch)
tree34a3ba3ab57a88d82c430c65db1af1deafcad96d /lib/dirname.h
parent4a6efb1d10aed44a1dce9502b17f3d216cdc5a9f (diff)
downloadgnulib-92295bc4b2a378893386efd3cf8cf9bc31024b59.tar.gz
.h files should stand alone, but we shouldn't include <sys/types.h>
if we can get away with just <stddef.h>.
Diffstat (limited to 'lib/dirname.h')
-rw-r--r--lib/dirname.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dirname.h b/lib/dirname.h
index cea14c04ff..4f794ee484 100644
--- 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