diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index e37175625..eac5217ca 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: bsd-misc.h,v 1.20 2012/02/14 18:03:31 tim Exp $ */ | 1 | /* $Id: bsd-misc.h,v 1.21 2012/07/03 22:50:10 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org> | 4 | * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org> |
@@ -51,6 +51,9 @@ int setegid(uid_t); | |||
51 | const char *strerror(int); | 51 | const char *strerror(int); |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | #if !defined(HAVE_SETLINEBUF) | ||
55 | #define setlinebuf(a) (setvbuf((a), NULL, _IOLBF, 0)) | ||
56 | #endif | ||
54 | 57 | ||
55 | #ifndef HAVE_UTIMES | 58 | #ifndef HAVE_UTIMES |
56 | #ifndef HAVE_STRUCT_TIMEVAL | 59 | #ifndef HAVE_STRUCT_TIMEVAL |