about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2019-01-08 21:10:28 +0100
committerAurelien Jarno <aurelien@aurel32.net>2019-02-03 15:17:18 +0100
commit11f382ee780649549428cb25af3a9f1d3465868d (patch)
tree729c87abf79b921538b0bcff221794958017a68d /ChangeLog
parent77c7d55ece0caaa39652e05158e18d8a9b4f6fbe (diff)
downloadglibc-11f382ee780649549428cb25af3a9f1d3465868d.tar.gz
glibc-11f382ee780649549428cb25af3a9f1d3465868d.tar.xz
glibc-11f382ee780649549428cb25af3a9f1d3465868d.zip
testsuite: stdlib/isomac.c: add missing include
When running the testsuite, building stdlib/isomac.c outputs the
following warning:

  gcc -O   -D_GNU_SOURCE -DIS_IN_build -include /home/aurel32/glibc-build/config.h isomac.c -o /home/aurel32/glibc-build/stdlib/isomac
  isomac.c: In function ‘get_null_defines’:
  isomac.c:260:3: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
     close (fd);
     ^~~~~
     pclose

Fix that by adding the <unistd.h> include.

Changelog:
	* stdlib/isomac.c: Include <unistd.h>.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 628aaef05f..82604298de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-03  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* stdlib/isomac.c: Include <unistd.h>.
+
 2019-02-03  Florian Weimer  <fweimer@redhat.com>
 
 	* include/time.h (__tzfile_default): Use int, not long int, for