summaryrefslogtreecommitdiff
path: root/args.c
diff options
context:
space:
mode:
authorTom Lane2017-06-20 18:56:53 +0000
committerTom Lane2017-06-20 18:56:53 +0000
commitc8cfba85a9e3c2920d987ce6103ccc22b2554e71 (patch)
tree245a716df625394d0548c5977310df1b147351da /args.c
parentf0ae5a2d8343891a3c64dbbafbc63edcdc3d05e6 (diff)
Adjust #include's to build in Postgres rather than FreeBSD environment.
Remove '#include <sys/cdefs.h>', which will fail in many non-BSD environments, as well as the __FBSDID() FreeBSD-ism. Replace them with '#include "c.h"', which will allow use of the Postgres project's portability infrastructure. This is intended to be a permanent diff between the FreeBSD upstream files and our copy.
Diffstat (limited to 'args.c')
-rw-r--r--args.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/args.c b/args.c
index 6c8cf9e..73d8121 100644
--- a/args.c
+++ b/args.c
@@ -39,8 +39,7 @@ static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
#endif
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/usr.bin/indent/args.c 304650 2016-08-23 01:40:45Z pfg $");
+#include "c.h"
/*
* Argument scanning and profile reading code. Default parameters are set