gbranden pushed a commit to branch master
in repository groff.
commit c868b9f312e5312b6de2002d9c83e19efd6a7356
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Dec 3 00:14:45 2024 -0600
[grops]: Further rationalize header inclusion.
* src/devices/grops/ps.cpp: Include local "posix.h" header before
"nonposix.h" (and both before "lib.h"), aligning better with other
groff code.
---
ChangeLog | 6 ++++++
src/devices/grops/ps.cpp | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index ae5012f1c..1d656dad3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-12-03 G. Branden Robinson <[email protected]>
+
+ * src/devices/grops/ps.cpp: Include local "posix.h" header
+ before "nonposix.h" (and both before "lib.h"), aligning better
+ with other groff code.
+
2024-12-03 G. Branden Robinson <[email protected]>
* src/utils/tfmtodit/tfmtodit.cpp: Include system library
diff --git a/src/devices/grops/ps.cpp b/src/devices/grops/ps.cpp
index b65797765..fb6ffb0e1 100644
--- a/src/devices/grops/ps.cpp
+++ b/src/devices/grops/ps.cpp
@@ -40,12 +40,15 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
#include <getopt.h> // getopt_long()
+// needed for SET_BINARY()
+#include "posix.h"
+#include "nonposix.h"
+
#include "lib.h" // PI
#include "cset.h"
#include "curtime.h"
#include "driver.h"
-#include "nonposix.h"
#include "paper.h"
#include "stringclass.h"
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit