commit | 70f1280ca9ccbf211da5514f01a77fad54e546a4 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Wed Jul 22 11:41:02 2009 +0200 |
committer | Martin Storsjo <martin@martin.st> | Wed Jul 22 11:41:02 2009 +0200 |
tree | 62092cccd12a6c62d9f2e89e49766f560e6f948e | |
parent | 90ec5f2a3f581927ffef55733e8d531890fdc90e [diff] [blame] |
Make sure size_t is defined before used in strings.h Otherwise, including strings.h as the first file in a C file yields errors. This fixes issue 3332.
diff --git a/libc/include/strings.h b/libc/include/strings.h index 1f73e21..fee7dc4 100644 --- a/libc/include/strings.h +++ b/libc/include/strings.h
@@ -39,6 +39,7 @@ #ifndef _STRINGS_H_ #define _STRINGS_H_ +#include <sys/types.h> #include <sys/cdefs.h> __BEGIN_DECLS