diff --git a/cbits/processFlags.h b/cbits/processFlags.h
new file mode 100644
--- /dev/null
+++ b/cbits/processFlags.h
@@ -0,0 +1,11 @@
+/* ----------------------------------------------------------------------------
+   (c) The University of Glasgow 2004
+
+   Flags used in runProcess.c and for System.Process.Internals
+   ------------------------------------------------------------------------- */
+
+#define RUN_PROCESS_IN_CLOSE_FDS 0x1
+#define RUN_PROCESS_IN_NEW_GROUP 0x2
+#define RUN_PROCESS_DETACHED     0x4
+#define RUN_PROCESS_NEW_SESSION  0x8
+#define RUN_PROCESS_NEW_CONSOLE  0x10
diff --git a/rawfilepath.cabal b/rawfilepath.cabal
--- a/rawfilepath.cabal
+++ b/rawfilepath.cabal
@@ -1,5 +1,5 @@
 name:                rawfilepath
-version:             0.2.1
+version:             0.2.2
 synopsis:            Use RawFilePath instead of FilePath
 description:         Please see README.md
 homepage:            https://github.com/xtendo-org/rawfilepath#readme
@@ -32,6 +32,7 @@
   c-sources:
     cbits/runProcess.c
     cbits/processFlags.c
+    cbits/processFlags.h
   include-dirs: cbits
   build-depends:
     bytestring,
