X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:subject:to:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=x8k kl27U1EZLqynw5IYO91LNKIxPlEUOFoUu9dMY7zf5NpwvuKsVK2cOk81rVZkqzng 8EjSp10Autw9WMr3cYAVk5lrcvMWwyOTNkaWdACHpXUExVeHqbqbiV9meZyEmKuL kp9e5BD0LS4xPnMXYqgOZYlB2KfaTRP09f/thtNU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:subject:to:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=HtxmUPKV9 fmrOd071rmYi2RtEmA=; b=BLCl8S0GjZtfc29yzErGYDjoYJdINQJRU9IUcZqMg hAixtk4TxN8r0RN7OfAorG75HuDRpt7oZYJrjvuhSDw3LBPX39pO/KfrXaEk7B1V qhTJDFU11agC8pf71x5A/LbA7yEmmvgdnNbjoBFlr+xCmUUcvZhvx/9VIYrU9YgI Bw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f182.google.com X-Received: by 10.180.10.101 with SMTP id h5mr44420830wib.94.1436098235063; Sun, 05 Jul 2015 05:10:35 -0700 (PDT) From: Marco Atzeri Subject: time.h missing scope ? To: "cygwin AT cygwin DOT com" Message-ID: <55991EB6.1060907@gmail.com> Date: Sun, 5 Jul 2015 14:10:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes u_int is defined in /usr/include/sys/types.h and /usr/include/sys/time.h includes it, but it is coveread by a # ifndef _POSIX_SOURCE make[1]: Entering directory '/cygdrive/e/cyg_pub/devel/xdelta/xdelta-3.0.9-1.i686/build' gcc -DHAVE_CONFIG_H -I. -I/pub/devel/xdelta/xdelta-3.0.9-1.i686/src/xdelta3-3.0.9 -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -D_GNU_SOURCE -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_POSIX=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/pub/devel/xdelta/xdelta-3.0.9-1.i686/build=/usr/src/debug/xdelta-3.0.9-1 -fdebug-prefix-map=/pub/devel/xdelta/xdelta-3.0.9-1.i686/src/xdelta3-3.0.9=/usr/src/debug/xdelta-3.0.9-1 -MT xdelta3-xdelta3.o -MD -MP -MF .deps/xdelta3-xdelta3.Tpo -c -o xdelta3-xdelta3.o `test -f 'xdelta3.c' || echo '/pub/devel/xdelta/xdelta-3.0.9-1.i686/src/xdelta3-3.0.9/'`xdelta3.c In file included from /pub/devel/xdelta/xdelta-3.0.9-1.i686/src/xdelta3-3.0.9/xdelta3.h:43:0, from /pub/devel/xdelta/xdelta-3.0.9-1.i686/src/xdelta3-3.0.9/xdelta3.c:267: /usr/include/sys/time.h:105:34: error: unknown type name ‘u_int’ bintime_mul(struct bintime *_bt, u_int _x) ^ Makefile:657: recipe for target 'xdelta3-xdelta3.o' failed make[1]: *** [xdelta3-xdelta3.o] Error 1 make[1]: Leaving directory '/cygdrive/e/cyg_pub/devel/xdelta/xdelta-3.0.9-1.i686/build' Makefile:486: recipe for target 'all' failed make: *** [all] Error 2 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple