Prefer using the C++ version of the standard headers. These place the

names within the std namespace (and possibly within the global
namespace).

The main advantage is that the C++ versions can provide optimized
versions or simplified interfaces.
This commit is contained in:
Eitan Adler 2013-05-02 17:02:50 +00:00
parent 943a5fa82e
commit d005340fe9

View File

@ -73,19 +73,20 @@ __FBSDID("$FreeBSD$");
#include <sys/wait.h>
#include <sys/un.h>
#include <ctype.h>
#include <cctype>
#include <cerrno>
#include <cstdlib>
#include <cstdio>
#include <csignal>
#include <cstring>
#include <dirent.h>
#include <errno.h>
#include <err.h>
#include <fcntl.h>
#include <libutil.h>
#include <paths.h>
#include <poll.h>
#include <regex.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <algorithm>