diff options
| author | Roy Marples <roy@marples.name> | 2007-04-05 18:05:38 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-04-05 18:05:38 +0000 |
| commit | 3c7fb0d496e3d10bfea45d70e62c3f30694ccec5 (patch) | |
| tree | 6d4bb5c925d4585f5afc099635632d6911c3cfde /common.h | |
| parent | 5773b3551c95b8a3d47e6a12a0a8eefebd46b9e2 (diff) | |
| download | dhcpcd-3c7fb0d496e3d10bfea45d70e62c3f30694ccec5.tar.xz | |
Use libc strlcpy for uclibc and dietlibc
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,8 +22,11 @@ #ifndef COMMON_H #define COMMON_H +/* Only GLIBC doesn't support strlcpy */ #ifdef __GLIBC__ +# if ! defined(__UCLIBC__) && ! defined (__dietlibc__) size_t strlcpy (char *dst, const char *src, size_t size); +# endif #endif long uptime (void); |
