--- a/bash_completion.sh.in
+++ b/bash_completion.sh.in
@@ -11,6 +11,10 @@ if [ "x${BASH_VERSION-}" != x -a "x${PS1-}" != x -a "x${BASH_COMPLETION_VERSINFO
             # Source completion code.
             . @datadir@/@PACKAGE@/bash_completion
         fi
+        if shopt -q progcomp && [ -r /usr/share/bash-completion/000_bash_completion_compat.bash ]; then
+            # Source completion code.
+            . /usr/share/bash-completion/000_bash_completion_compat.bash
+        fi
     fi

 fi
