summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dirname.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dirname.h b/lib/dirname.h
index cea14c04f..4f794ee48 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