#include <stddef.h> is sufficient to define size_t, and is far more

portable (and less polluting) than #include <sys/types.h>.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@199 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2003-01-23 22:29:40 +00:00
parent 26767ae03c
commit 0dcf0274b0
1 changed files with 2 additions and 2 deletions

View File

@ -31,13 +31,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $P4: //depot/projects/openpam/include/security/pam_types.h#8 $ * $P4: //depot/projects/openpam/include/security/pam_types.h#9 $
*/ */
#ifndef _PAM_TYPES_H_INCLUDED #ifndef _PAM_TYPES_H_INCLUDED
#define _PAM_TYPES_H_INCLUDED #define _PAM_TYPES_H_INCLUDED
#include <sys/types.h> #include <stddef.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {