1*eb5165bbSMartin Matuska /*- 2*eb5165bbSMartin Matuska * SPDX-License-Identifier: BSD-2-Clause 3*eb5165bbSMartin Matuska * 4*eb5165bbSMartin Matuska * Copyright (c) 2011 The NetBSD Foundation, Inc. 5*eb5165bbSMartin Matuska * All rights reserved. 6*eb5165bbSMartin Matuska */ 7*eb5165bbSMartin Matuska 8*eb5165bbSMartin Matuska #ifndef LAFE_GETLINE_H_INCLUDED 9*eb5165bbSMartin Matuska #define LAFE_GETLINE_H_INCLUDED 10*eb5165bbSMartin Matuska 11*eb5165bbSMartin Matuska #include "lafe_platform.h" 12*eb5165bbSMartin Matuska 13*eb5165bbSMartin Matuska #ifndef HAVE_GETLINE 14*eb5165bbSMartin Matuska #ifdef HAVE_STDINT_H 15*eb5165bbSMartin Matuska #include <stdint.h> 16*eb5165bbSMartin Matuska #endif 17*eb5165bbSMartin Matuska #ifdef HAVE_STDIO_H 18*eb5165bbSMartin Matuska #include <stdio.h> 19*eb5165bbSMartin Matuska #endif 20*eb5165bbSMartin Matuska ssize_t getline(char **buf, size_t *bufsiz, FILE *fp); 21*eb5165bbSMartin Matuska #endif 22*eb5165bbSMartin Matuska 23*eb5165bbSMartin Matuska #endif /* !LAFE_GETLINE_H_INCLUDED */ 24