summaryrefslogtreecommitdiffstats
path: root/compat_fgetln.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat_fgetln.c')
-rw-r--r--compat_fgetln.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/compat_fgetln.c b/compat_fgetln.c
index 49c9985b..667d1f76 100644
--- a/compat_fgetln.c
+++ b/compat_fgetln.c
@@ -1,6 +1,4 @@
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#ifdef HAVE_FGETLN
@@ -41,6 +39,9 @@ int dummy;
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
+
+#include <sys/types.h>
+
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>