Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Vm5I3-0006LI-87 for ltp-list@lists.sourceforge.net; Thu, 28 Nov 2013 17:22:11 +0000 Date: Thu, 28 Nov 2013 18:21:41 +0100 From: chrubis@suse.cz Message-ID: <20131128172141.GB18651@rei.Home> References: <528DE213.1030106@cn.fujitsu.com> <20131128143504.GF19263@rei.Home> <52977568.9070306@imgtec.com> <20131128170951.GA18651@rei.Home> <52977A31.8060400@imgtec.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <52977A31.8060400@imgtec.com> Subject: Re: [LTP] [PATCH v3] dup3(2): add EINVAL error number test List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Markos Chandras Cc: ltp-list@lists.sourceforge.net Hi! > >> > >> This test does not seem to compile on uClibc based systems > >> > >> I am getting this: > >> dup3_02.c:53: error: 'O_CLOEXEC' undeclared here (not in a function) > > > > Looking at fcntl.h in uClibc git the O_CLOEXEC is defined only on > > __USE_GNU > > > > Does adding > > > > #define _GNU_SOURCE > > > > before the includes help? > > Yeah that fixes it. Thanks! > Fix is pushed. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list