summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/linux-2.0/__stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/machdep/linux-2.0/__stdio.h')
-rwxr-xr-xmit-pthreads/machdep/linux-2.0/__stdio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/linux-2.0/__stdio.h b/mit-pthreads/machdep/linux-2.0/__stdio.h
index eb7e904c34d..38deb337038 100755
--- a/mit-pthreads/machdep/linux-2.0/__stdio.h
+++ b/mit-pthreads/machdep/linux-2.0/__stdio.h
@@ -4,4 +4,9 @@
typedef pthread_size_t size_t;
#endif
+/* Hack for configuration with libgcc 2.2 */
+#ifndef pthread_fpos_t
+#define pthread_fpos_t long
+#endif
+
typedef pthread_fpos_t fpos_t;