Module Name: src Committed By: maya Date: Fri Nov 9 11:46:28 UTC 2018
Modified Files: src/sys/netinet: in.h Log Message: Use the same type redefinition guards as stdint.h since rev1.8 PR pkg/53713 To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/netinet/in.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet/in.h diff -u src/sys/netinet/in.h:1.107 src/sys/netinet/in.h:1.108 --- src/sys/netinet/in.h:1.107 Wed Aug 22 01:05:24 2018 +++ src/sys/netinet/in.h Fri Nov 9 11:46:28 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: in.h,v 1.107 2018/08/22 01:05:24 msaitoh Exp $ */ +/* $NetBSD: in.h,v 1.108 2018/11/09 11:46:28 maya Exp $ */ /* * Copyright (c) 1982, 1986, 1990, 1993 @@ -42,14 +42,14 @@ #include <sys/featuretest.h> #include <machine/int_types.h> -#ifndef uint8_t +#ifndef _BSD_UINT8_T_ typedef __uint8_t uint8_t; -#define uint8_t __uint8_t +#define _BSD_UINT8_T_ #endif -#ifndef uint32_t +#ifndef _BSD_UINT32_T_ typedef __uint32_t uint32_t; -#define uint32_t __uint32_t +#define _BSD_UINT32_T_ #endif #include <sys/ansi.h>