From 6af36ae37c67c2682b44914badffab5fa9c52d06 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Fri, 07 Dec 2018 23:02:45 +0800 Subject: [PATCH] Finish semaphore source code --- ch1_fileIO/syserr.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ch1_fileIO/syserr.c b/ch1_fileIO/syserr.c index 75a34ac..22f775b 100644 --- a/ch1_fileIO/syserr.c +++ b/ch1_fileIO/syserr.c @@ -1,6 +1,7 @@ #include <stdio.h> #include <errno.h> +#include <unistd.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> -- Gitblit v1.9.1