[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-idutils] [PATCH] maint: avoid new syntax-check failure due to #if H
From: |
Jim Meyering |
Subject: |
[bug-idutils] [PATCH] maint: avoid new syntax-check failure due to #if HAVE_SYS_TYPES_H |
Date: |
Sun, 01 Jan 2012 10:21:48 +0100 |
FYI, I've just pushed this, in addition to a global copyright update.
>From 3afda48cd4dbb6c5ca6de443cdba0f918443181c Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 1 Jan 2012 10:21:01 +0100
Subject: [PATCH] maint: avoid new syntax-check failure due to #if
HAVE_SYS_TYPES_H
* libidu/idfile.h: Include <sys/types.h> unconditionally.
I.e., drop the now-redundant #if HAVE_SYS_TYPES_H guard.
gnulib guarantees the presence of that header.
---
libidu/idfile.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/libidu/idfile.h b/libidu/idfile.h
index b77c85a..fe531db 100644
--- a/libidu/idfile.h
+++ b/libidu/idfile.h
@@ -21,9 +21,7 @@
#define _idfile_h_ 1
#include <config.h>
-#if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include "obstack.h"
--
1.7.8.1.391.g2c2ad
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-idutils] [PATCH] maint: avoid new syntax-check failure due to #if HAVE_SYS_TYPES_H,
Jim Meyering <=