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:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; q=dns; s=default; b=sQo tMRTgCBUeSLrQ/PyWEDB+g2FD4IdJUZkU2wDXwxntNzwFKNadDkfAbfLERo/AqJv u+s2TrUekqcWbcqNIC2wOzitI0OQZypcE74uI5NzQczDA4xpRlk0Hw+euCU8PNHw 24oRN00a276MjFJOEclfLT2lFW6LCTyjtyZqBJsw= 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:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; s=default; bh=D+05AkCh2 flD69MMIr015eeOgrI=; b=GNrp1rnIVdGChVrRWAHxFso55bslJlvTXqCY+KD1N wxytPElJj1jt2jcIwaZ4AttDiX1+o8NFH2XmWzmm9/vguToU7sIB7ZTc6e7bvRb3 wooLIzWWIItmASS/TNtUAXtMcrLvbZWJCSlN3aaD9yPZBdt8mp/AS28fnO85fvzb R4= 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=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f54.google.com MIME-Version: 1.0 X-Received: by 10.229.63.71 with SMTP id a7mr77822648qci.24.1418836512933; Wed, 17 Dec 2014 09:15:12 -0800 (PST) Date: Wed, 17 Dec 2014 18:15:12 +0100 Message-ID: Subject: GLOB_ONLYDIR not defined in glob.h From: =?UTF-8?Q?Kizito_Porta_Balany=C3=A0?= To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sBHHFTpY014554 Hello, I'm trying to compile monit in cygwin, but I get an error: src/process/sysdep_UNKNOWN.c:218:34: error: ‘GLOB_ONLYDIR’ not declared (first use)) if ((rv = glob("/proc/[0-9]*", GLOB_ONLYDIR, NULL, &globbuf))) { The function is: if ((rv = glob("/proc/[0-9]*", GLOB_ONLYDIR, NULL, &globbuf))) { LogError("system statistic error -- glob failed: %d (%s)\n", rv, STRERROR); return FALSE; } Do you know why GLOB_ONLYDIR is not defined in glob.h? Thanks a lot for your time. -- 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