# | Line 30 | Line 30 | |
---|---|---|
30 | ||
31 | #include "defaults.h" | |
32 | ||
33 | + | #include <stddef.h> |
34 | #include <stdlib.h> | |
35 | #include <string.h> | |
36 | ||
# | Line 47 | Line 48 | |
48 | #endif | |
49 | #endif | |
50 | ||
50 | – | #ifdef HAVE_STDDEF_H |
51 | – | # include <stddef.h> |
52 | – | #else /* This is basically what stddef.h provides on most systems */ |
53 | – | # ifndef NULL |
54 | – | # define NULL ((void*)0) |
55 | – | # endif |
56 | – | # ifndef offsetof |
57 | – | # define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) |
58 | – | # endif |
59 | – | #endif |
60 | – | |
51 | #ifdef HAVE_CRYPT_H | |
52 | #include <crypt.h> | |
53 | #endif | |
# | Line 72 | Line 62 | |
62 | #include <time.h> | |
63 | #include <fcntl.h> | |
64 | ||
75 | – | #ifdef HAVE_LIBGEN_H |
76 | – | #include <libgen.h> |
77 | – | #endif |
78 | – | |
65 | #include <stdarg.h> | |
66 | #include <signal.h> | |
67 | #include <ctype.h> |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |