[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HAVE_UNISTD_H used in progreloc.c
From: |
Jim Meyering |
Subject: |
HAVE_UNISTD_H used in progreloc.c |
Date: |
Fri, 07 Jul 2006 09:17:33 +0200 |
Hi Bruno,
I just grepped for HAVE_UNISTD_H in gnulib/ and found this
single remaining use. Any reason to keep it?
Index: lib/progreloc.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/progreloc.c,v
retrieving revision 1.8
diff -u -p -r1.8 progreloc.c
--- lib/progreloc.c 19 Sep 2005 17:28:14 -0000 1.8
+++ lib/progreloc.c 7 Jul 2006 07:15:19 -0000
@@ -1,5 +1,5 @@
/* Provide relocatable programs.
- Copyright (C) 2003-2004 Free Software Foundation, Inc.
+ Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc.
Written by Bruno Haible <address@hidden>, 2003.
This program is free software; you can redistribute it and/or modify
@@ -29,9 +29,7 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <sys/stat.h>
#if defined _WIN32 || defined __WIN32__
- HAVE_UNISTD_H used in progreloc.c,
Jim Meyering <=