# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
# 
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
# 
# ROCK Linux: rock-src/package/base/dietlibc/pkg_patch/pkg_tar.patch
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
# 
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# 
# --- ROCK-COPYRIGHT-NOTE-END ---

--- ./lib/msleep.c.orig	Wed May  1 14:02:11 2002
+++ ./lib/msleep.c	Wed May  1 14:02:59 2002
@@ -35,9 +35,6 @@
 #endif
 
 #if HAVE_POLL
-# if HAVE_STROPTS_H
-#  include <stropts.h>
-# endif
 # if HAVE_POLL_H
 #  include <sys/types.h>
 #  include <poll.h>
--- ./configure.orig	2002-10-09 12:39:31.000000000 +0200
+++ ./configure	2002-10-09 12:39:35.000000000 +0200
@@ -2073,6 +2073,7 @@
   FILE *f=fopen("conftestval", "w");
   if (!f) exit(1);
   fprintf(f, "%d\n", sizeof(unsigned long));
+  fclose(f);
   exit(0);
 }
 EOF
--- ./configure~	Mon Jan  6 21:29:53 2003
+++ ./configure	Mon Jan  6 21:37:05 2003
@@ -2134,7 +2134,7 @@
 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
 EOF
 
-
+ac_cv_header_sgtty_h=no
 
 for ac_hdr in fcntl.h limits.h linux/fd.h memory.h net/errno.h poll.h \
 sgtty.h string.h stropts.h \
