From 4558c8f37a5cd1926d2fbda8df83ee63d869bd18 Mon Sep 17 00:00:00 2001
From: Gunter Knauf <gk@gknw.de>
Date: Thu, 4 Sep 2008 22:01:19 +0000
Subject: [PATCH] enabled largefile feature for LIBC builds.

---
 lib/Makefile.netware | 2 ++
 src/Makefile.netware | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 9d7c78c3bc..bd5f4f4d1b 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -439,6 +439,8 @@ else
 	@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
 	@echo $(DL)#define SEND_TYPE_RETV ssize_t$(DL) >> $@
 	@echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@
+	@echo $(DL)#define SIZEOF_OFF_T 8$(DL) >> $@
+	@echo $(DL)#define _LARGEFILE 1$(DL) >> $@
 ifdef ENABLE_IPV6
 	@echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@
 endif
diff --git a/src/Makefile.netware b/src/Makefile.netware
index b8ff8b7c3b..73139aeb13 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -427,6 +427,8 @@ else
 	@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
 	@echo $(DL)#define SEND_TYPE_RETV ssize_t$(DL) >> $@
 	@echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@
+	@echo $(DL)#define SIZEOF_OFF_T 8$(DL) >> $@
+	@echo $(DL)#define _LARGEFILE 1$(DL) >> $@
 ifdef ENABLE_IPV6
 	@echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@
 endif
-- 
GitLab