NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/51871: [PATCH] tests/kernel/t_mqueue: add fcntl.h for O_* fcntl/open constants



The following reply was made to PR bin/51871; it has been noted by GNATS.

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51871: [PATCH] tests/kernel/t_mqueue: add fcntl.h for O_*
 fcntl/open constants
Date: Fri, 13 Jan 2017 22:05:28 -0800

 --Apple-Mail=_70ED57DD-1256-476A-9B78-97D5A786BBAD
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 --Apple-Mail=_70ED57DD-1256-476A-9B78-97D5A786BBAD
 Content-Disposition: attachment;
 	filename=t_mqueue-add-fcntl_h-for-O_-constants-sort-headers.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_mqueue-add-fcntl_h-for-O_-constants-sort-headers.patch"
 Content-Transfer-Encoding: 7bit
 
 ? kernel/obj
 ? kernel/arch/obj
 ? kernel/arch/amd64/obj
 ? kernel/kqueue/obj
 ? kernel/kqueue/read/obj
 ? kernel/kqueue/write/obj
 ? kernel/tty/obj
 Index: kernel/t_mqueue.c
 ===================================================================
 RCS file: /cvsroot/src/tests/kernel/t_mqueue.c,v
 retrieving revision 1.5
 diff -u -r1.5 t_mqueue.c
 --- kernel/t_mqueue.c	10 Jan 2017 22:10:22 -0000	1.5
 +++ kernel/t_mqueue.c	14 Jan 2017 06:00:08 -0000
 @@ -6,17 +6,17 @@
   * This file is in the Public Domain.
   */
  
 -#include <atf-c.h>
  #include <sys/stat.h>
  
 +#include <atf-c.h>
 +#include <errno.h>
 +#include <fcntl.h>
 +#include <mqueue.h>
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
 -#include <errno.h>
  #include <unistd.h>
  
 -#include <mqueue.h>
 -
  #define	MQ_PRIO_BASE	24
  
  static void
 
 --Apple-Mail=_70ED57DD-1256-476A-9B78-97D5A786BBAD--
 


Home | Main Index | Thread Index | Old Index